messageTray: restore toggle tray in normal mode (non overview)

https://bugzilla.gnome.org/show_bug.cgi?id=688507
This commit is contained in:
Alban Browaeys 2012-11-17 04:49:13 +01:00 committed by Florian Müllner
parent 360c018c9e
commit 1a1215527f

View File

@ -1521,12 +1521,14 @@ const MessageTray = new Lang.Class({
Main.wm.addKeybinding('toggle-message-tray', Main.wm.addKeybinding('toggle-message-tray',
new Gio.Settings({ schema: SHELL_KEYBINDINGS_SCHEMA }), new Gio.Settings({ schema: SHELL_KEYBINDINGS_SCHEMA }),
Meta.KeyBindingFlags.NONE, Meta.KeyBindingFlags.NONE,
Main.KeybindingMode.NORMAL |
Main.KeybindingMode.MESSAGE_TRAY | Main.KeybindingMode.MESSAGE_TRAY |
Main.KeybindingMode.OVERVIEW, Main.KeybindingMode.OVERVIEW,
Lang.bind(this, this.toggleAndNavigate)); Lang.bind(this, this.toggleAndNavigate));
Main.wm.addKeybinding('focus-active-notification', Main.wm.addKeybinding('focus-active-notification',
new Gio.Settings({ schema: SHELL_KEYBINDINGS_SCHEMA }), new Gio.Settings({ schema: SHELL_KEYBINDINGS_SCHEMA }),
Meta.KeyBindingFlags.NONE, Meta.KeyBindingFlags.NONE,
Main.KeybindingMode.NORMAL |
Main.KeybindingMode.MESSAGE_TRAY | Main.KeybindingMode.MESSAGE_TRAY |
Main.KeybindingMode.OVERVIEW, Main.KeybindingMode.OVERVIEW,
Lang.bind(this, this._expandActiveNotification)); Lang.bind(this, this._expandActiveNotification));