[gnome-shell-extensions] apps-menu: Take over shortcuts again on startup-complete
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions] apps-menu: Take over shortcuts again on startup-complete
- Date: Tue, 24 Mar 2015 13:21:22 +0000 (UTC)
commit 0a5e5ee93c40fdda9f9b6c41081a3ce44c3ad04f
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Mar 24 00:28:10 2015 +0100
apps-menu: Take over shortcuts again on startup-complete
For a while now, gnome-shell has initialized extensions before
setting up its own keybinding handling. As a result, our taking
over of the panel-main-menu shortcut will be overwritten when
the extension is enabled at startup - work around this by setting
up the keybinding again on LayoutManager::startup-complete.
https://bugzilla.gnome.org/show_bug.cgi?id=746639
extensions/apps-menu/extension.js | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/extensions/apps-menu/extension.js b/extensions/apps-menu/extension.js
index b6c5ae0..53c586e 100644
--- a/extensions/apps-menu/extension.js
+++ b/extensions/apps-menu/extension.js
@@ -295,6 +295,8 @@ const ApplicationsButton = new Lang.Class({
this._hidingId = Main.overview.connect('hiding', Lang.bind(this, function() {
this.actor.remove_accessible_state (Atk.StateType.CHECKED);
}));
+ Main.layoutManager.connect('startup-complete',
+ Lang.bind(this, this._setKeybinding));
this._setKeybinding();
this.reloadFlag = false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]