[gnome-shell] a11y: set CHECKED state on Activities button
- From: Alejandro PiÃeiro Iglesias <apinheiro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] a11y: set CHECKED state on Activities button
- Date: Thu, 15 Mar 2012 19:07:47 +0000 (UTC)
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]