a11y: Setting a name/label_actor for several items on the panel

https://bugzilla.gnome.org/show_bug.cgi?id=667376
This commit is contained in:
Alejandro Piñeiro
2012-01-05 19:00:06 +01:00
parent 5a85fc0e55
commit 74dd298891
10 changed files with 33 additions and 9 deletions

View File

@ -389,6 +389,7 @@ const PopupMenuItem = new Lang.Class({
this.label = new St.Label({ text: text });
this.addActor(this.label);
this.actor.label_actor = this.label
}
});
@ -1428,6 +1429,7 @@ const PopupSubMenuMenuItem = new Lang.Class({
this.label = new St.Label({ text: text });
this.addActor(this.label);
this.actor.label_actor = this.label;
this._triangle = new St.Label({ text: '\u25B8' });
this.addActor(this._triangle, { align: St.Align.END });