mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
remove open-application-menu keybinding, appmenu will be removed
This commit is contained in:
21
extension.js
21
extension.js
@@ -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
|
||||
// );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user