panelMenu: Use the accessible-name property instead of a label actor
We already have code for this in StWidget. https://bugzilla.gnome.org/show_bug.cgi?id=705898
This commit is contained in:
@ -521,7 +521,7 @@ const AppMenuButton = new Lang.Class({
|
||||
|
||||
this._targetApp = targetApp;
|
||||
this._label.setText(targetApp.get_name());
|
||||
this.setName(targetApp.get_name());
|
||||
this.actor.set_accessible_name(targetApp.get_name());
|
||||
|
||||
this._syncIcon();
|
||||
this._arrow.show();
|
||||
|
Reference in New Issue
Block a user