[gnome-shell] a11y: set CHECKED state on Activities button



commit 01c66eaf0ca82c5660544a58b0f4a9ddbcd9075f
Author: Alejandro PiÃeiro <apinheiro igalia com>
Date:   Sat Mar 10 02:06:03 2012 +0100

    a11y: set CHECKED state on Activities button

 js/ui/panel.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/panel.js b/js/ui/panel.js
index 039c453..8f09190 100644
--- a/js/ui/panel.js
+++ b/js/ui/panel.js
@@ -635,10 +635,12 @@ const ActivitiesButton = new Lang.Class({
         Main.overview.connect('showing', Lang.bind(this, function() {
             this.actor.add_style_pseudo_class('overview');
             this._escapeMenuGrab();
+            this.actor.add_accessible_state (Atk.StateType.CHECKED);
         }));
         Main.overview.connect('hiding', Lang.bind(this, function() {
             this.actor.remove_style_pseudo_class('overview');
             this._escapeMenuGrab();
+            this.actor.remove_accessible_state (Atk.StateType.CHECKED);
         }));
 
         this._xdndTimeOut = 0;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]