[gnome-shell] dateMenu: Don't override accessible_role inherited from PanelMenu.Button



commit c29810b2f61238e9cbcd7fdb45d994520a3fedad
Author: Tanner Doshier <doshitan gmail com>
Date:   Sat Mar 16 16:34:58 2013 -0500

    dateMenu: Don't override accessible_role inherited from PanelMenu.Button
    
    The menu is keyboard navigable now, so allow it to be advertised as such.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=667434

 js/ui/dateMenu.js |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js
index fa550be..c3a8dcf 100644
--- a/js/ui/dateMenu.js
+++ b/js/ui/dateMenu.js
@@ -49,11 +49,6 @@ const DateMenuButton = new Lang.Class({
             menuAlignment = 1.0 - menuAlignment;
         this.parent(menuAlignment);
 
-        // At this moment calendar menu is not keyboard navigable at
-        // all (so not accessible), so it doesn't make sense to set as
-        // role ATK_ROLE_MENU like other elements of the panel.
-        this.actor.accessible_role = Atk.Role.LABEL;
-
         this._clockDisplay = new St.Label();
         this.actor.add_actor(this._clockDisplay);
 


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