From 01c66eaf0ca82c5660544a58b0f4a9ddbcd9075f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Pi=C3=B1eiro?= Date: Sat, 10 Mar 2012 02:06:03 +0100 Subject: [PATCH] a11y: set CHECKED state on Activities button --- js/ui/panel.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/ui/panel.js b/js/ui/panel.js index 039c453f6..8f0919042 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;