From bdd65fe7559dc976dc95666e355697567c45eb04 Mon Sep 17 00:00:00 2001 From: Rui Matos Date: Wed, 16 Nov 2011 00:23:04 +0000 Subject: [PATCH] AppMenuButton: bind "can-focus" to "reactive" When changing to an empty workspace we make the AppMenuButton invisible but the user could still get to the menu using keyboard navigation. https://bugzilla.gnome.org/show_bug.cgi?id=643867 --- js/ui/panel.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/panel.js b/js/ui/panel.js index 5072ef811..9dec7953f 100644 --- a/js/ui/panel.js +++ b/js/ui/panel.js @@ -249,6 +249,7 @@ const AppMenuButton = new Lang.Class({ let bin = new St.Bin({ name: 'appMenu' }); this.actor.add_actor(bin); + this.actor.bind_property("reactive", this.actor, "can-focus", 0); this.actor.reactive = false; this._targetIsCurrent = false;