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
This commit is contained in:
Tanner Doshier 2013-03-16 16:34:58 -05:00 committed by Jasper St. Pierre
parent c1240d3f2c
commit c29810b2f6

View File

@ -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);