[gnome-shell] AppMenuButton: bind "can-focus" to "reactive"
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] AppMenuButton: bind "can-focus" to "reactive"
- Date: Fri, 27 Jan 2012 18:08:25 +0000 (UTC)
commit bdd65fe7559dc976dc95666e355697567c45eb04
Author: Rui Matos <tiagomatos gmail com>
Date: Wed Nov 16 00:23:04 2011 +0000
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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/panel.js b/js/ui/panel.js
index 5072ef8..9dec795 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]