diff --git a/js/ui/modalDialog.js b/js/ui/modalDialog.js index 259a9c6bb..607000b35 100644 --- a/js/ui/modalDialog.js +++ b/js/ui/modalDialog.js @@ -101,6 +101,13 @@ var ModalDialog = GObject.registerClass({ this.notify('state'); } + vfunc_key_press_event() { + if (global.focus_manager.navigate_from_event(Clutter.get_current_event())) + return Clutter.EVENT_STOP; + + return Clutter.EVENT_PROPAGATE; + } + clearButtons() { this.dialogLayout.clearButtons(); }