From f2af0be9acd467a8a9d28e661f8c779855b6c41e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sat, 15 Sep 2012 20:16:01 +0200 Subject: [PATCH] messageTray: Allow to start keynav with Tab Currently it is only possible to use keynav inside the tray if it has been triggered with the keyboard shortcut. Make it possible to initiate keynav by hitting Tab in other cases as well. https://bugzilla.gnome.org/show_bug.cgi?id=682243 --- js/ui/messageTray.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index ff045e251..5a2e3d266 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -1409,6 +1409,7 @@ const MessageTray = new Lang.Class({ this._updateState(); actor.grab_key_focus(); })); + global.focus_manager.add_group(this.actor); this._summary = new St.BoxLayout({ name: 'summary-mode', reactive: true, track_hover: true, @@ -1416,7 +1417,6 @@ const MessageTray = new Lang.Class({ x_expand: true, y_align: Clutter.ActorAlign.CENTER, y_expand: true }); - global.focus_manager.add_group(this._summary); this._summary.connect('notify::hover', Lang.bind(this, this._onSummaryHoverChanged)); this.actor.add_actor(this._summary); this._summary.opacity = 0;