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:
Jonas Dreßler 2023-01-23 17:21:14 +01:00
parent 3ea672efe6
commit d67077bdf1
4 changed files with 0 additions and 25 deletions

View File

@ -17,8 +17,5 @@
<KeyListEntry name="toggle-application-view"
description="Show all apps"/>
<KeyListEntry name="open-application-menu"
description="Open the app menu"/>
</KeyListEntries>

View File

@ -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>["&lt;Super&gt;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>["&lt;Super&gt;&lt;Alt&gt;Up"]</default>
<summary>Keybinding to shift between overview states</summary>

View File

@ -594,10 +594,6 @@ class Panel extends St.Widget {
indicator.menu.close();
}
toggleAppMenu() {
this._toggleMenu(this.statusArea.appMenu);
}
toggleCalendar() {
this._toggleMenu(this.statusArea.dateMenu);
}

View File

@ -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();
}