Adjust for renamed action mode
Commit c79d24b60e7732 renamed the TOPBAR_POPUP mode to POPUP to reflect its new usage, but did not update any code that used it. Whoops.
This commit is contained in:
parent
62e9978c52
commit
530e8273ff
@ -243,7 +243,7 @@ const InputSourceManager = new Lang.Class({
|
||||
// of pushModal/popModal and grabHelper. See
|
||||
// https://bugzilla.gnome.org/show_bug.cgi?id=695143 .
|
||||
if (Main.actionMode == Shell.ActionMode.MESSAGE_TRAY ||
|
||||
Main.actionMode == Shell.ActionMode.TOPBAR_POPUP) {
|
||||
Main.actionMode == Shell.ActionMode.POPUP) {
|
||||
this._modifiersSwitcher();
|
||||
return;
|
||||
}
|
||||
|
@ -831,14 +831,14 @@ const WindowManager = new Lang.Class({
|
||||
new Gio.Settings({ schema_id: SHELL_KEYBINDINGS_SCHEMA }),
|
||||
Meta.KeyBindingFlags.NONE,
|
||||
Shell.ActionMode.NORMAL |
|
||||
Shell.ActionMode.TOPBAR_POPUP,
|
||||
Shell.ActionMode.POPUP,
|
||||
Lang.bind(this, this._toggleAppMenu));
|
||||
|
||||
this.addKeybinding('toggle-message-tray',
|
||||
new Gio.Settings({ schema_id: SHELL_KEYBINDINGS_SCHEMA }),
|
||||
Meta.KeyBindingFlags.NONE,
|
||||
Shell.ActionMode.NORMAL |
|
||||
Shell.ActionMode.TOPBAR_POPUP,
|
||||
Shell.ActionMode.POPUP,
|
||||
Lang.bind(this, this._toggleCalendar));
|
||||
|
||||
global.display.connect('show-resize-popup', Lang.bind(this, this._showResizePopup));
|
||||
|
Loading…
x
Reference in New Issue
Block a user