a11y: Using the proper label_actor for date menu on top panel
On the code two labels are created. One is used on the date menu itself, and the other for the menu icon at the top panel. The wrong label was used as the label_actor for the top panel menu icon. https://bugzilla.gnome.org/show_bug.cgi?id=675307
This commit is contained in:
parent
915524e1ab
commit
5436634829
@ -75,7 +75,7 @@ const DateMenuButton = new Lang.Class({
|
||||
|
||||
// Date
|
||||
this._date = new St.Label();
|
||||
this.actor.label_actor = this._date;
|
||||
this.actor.label_actor = this._clock;
|
||||
this._date.style_class = 'datemenu-date-label';
|
||||
vbox.add(this._date);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user