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:
parent
c1240d3f2c
commit
c29810b2f6
@ -49,11 +49,6 @@ const DateMenuButton = new Lang.Class({
|
|||||||
menuAlignment = 1.0 - menuAlignment;
|
menuAlignment = 1.0 - menuAlignment;
|
||||||
this.parent(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._clockDisplay = new St.Label();
|
||||||
this.actor.add_actor(this._clockDisplay);
|
this.actor.add_actor(this._clockDisplay);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user