Remove keyboard shortcut to open the app menu in the panel
Now that the app menu indicator is no longer shown, it shouldn't be possible to toggle the popup menu via keyboard shortcut anymore, so remove the code and gsettings definitions for that. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2610>
This commit is contained in:
parent
3ea672efe6
commit
d67077bdf1
@ -17,8 +17,5 @@
|
||||
<KeyListEntry name="toggle-application-view"
|
||||
description="Show all apps"/>
|
||||
|
||||
<KeyListEntry name="open-application-menu"
|
||||
description="Open the app menu"/>
|
||||
|
||||
</KeyListEntries>
|
||||
|
||||
|
@ -147,13 +147,6 @@
|
||||
|
||||
<schema id="org.gnome.shell.keybindings" path="/org/gnome/shell/keybindings/"
|
||||
gettext-domain="@GETTEXT_PACKAGE@">
|
||||
<key name="open-application-menu" type="as">
|
||||
<default>["<Super>F10"]</default>
|
||||
<summary>Keybinding to open the application menu</summary>
|
||||
<description>
|
||||
Keybinding to open the application menu.
|
||||
</description>
|
||||
</key>
|
||||
<key name="shift-overview-up" type="as">
|
||||
<default>["<Super><Alt>Up"]</default>
|
||||
<summary>Keybinding to shift between overview states</summary>
|
||||
|
@ -594,10 +594,6 @@ class Panel extends St.Widget {
|
||||
indicator.menu.close();
|
||||
}
|
||||
|
||||
toggleAppMenu() {
|
||||
this._toggleMenu(this.statusArea.appMenu);
|
||||
}
|
||||
|
||||
toggleCalendar() {
|
||||
this._toggleMenu(this.statusArea.dateMenu);
|
||||
}
|
||||
|
@ -779,13 +779,6 @@ var WindowManager = class {
|
||||
Shell.ActionMode.OVERVIEW,
|
||||
this._startSwitcher.bind(this));
|
||||
|
||||
this.addKeybinding('open-application-menu',
|
||||
new Gio.Settings({ schema_id: SHELL_KEYBINDINGS_SCHEMA }),
|
||||
Meta.KeyBindingFlags.IGNORE_AUTOREPEAT,
|
||||
Shell.ActionMode.NORMAL |
|
||||
Shell.ActionMode.POPUP,
|
||||
this._toggleAppMenu.bind(this));
|
||||
|
||||
this.addKeybinding('toggle-message-tray',
|
||||
new Gio.Settings({ schema_id: SHELL_KEYBINDINGS_SCHEMA }),
|
||||
Meta.KeyBindingFlags.IGNORE_AUTOREPEAT,
|
||||
@ -1710,10 +1703,6 @@ var WindowManager = class {
|
||||
}
|
||||
}
|
||||
|
||||
_toggleAppMenu() {
|
||||
Main.panel.toggleAppMenu();
|
||||
}
|
||||
|
||||
_toggleCalendar() {
|
||||
Main.panel.toggleCalendar();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user