remove open-application-menu keybinding, appmenu will be removed

This commit is contained in:
Philipp Unger
2023-08-20 19:10:38 +02:00
parent ae812b34d0
commit ac43d822f3

View File

@@ -89,14 +89,6 @@ export default class DashToPanelExtension extends Extension {
SETTINGS = null;
panelManager = null;
// Utils.removeKeybinding('open-application-menu');
// Utils.addKeybinding(
// 'open-application-menu',
// new Gio.Settings({ schema_id: WindowManager.SHELL_KEYBINDINGS_SCHEMA }),
// Main.wm._toggleAppMenu.bind(Main.wm),
// Shell.ActionMode.NORMAL | Shell.ActionMode.POPUP
// );
if (!reset) {
extensionSystem.disconnect(extensionChangedHandler);
delete global.dashToPanel;
@@ -153,17 +145,4 @@ function _enable(extension) {
panelManager = new PanelManager.PanelManager();
panelManager.enable();
// Utils.removeKeybinding('open-application-menu');
// Utils.addKeybinding(
// 'open-application-menu',
// new Gio.Settings({ schema_id: WindowManager.SHELL_KEYBINDINGS_SCHEMA }),
// () => {
// if(SETTINGS.get_boolean('show-appmenu'))
// Main.wm._toggleAppMenu();
// else
// panelManager.primaryPanel.taskbar.popupFocusedAppSecondaryMenu();
// },
// Shell.ActionMode.NORMAL | Shell.ActionMode.POPUP
// );
}