a11y: Setting role and label-actor for runDialog

https://bugzilla.gnome.org/show_bug.cgi?id=670308
This commit is contained in:
Alejandro Piñeiro
2012-03-10 02:27:19 +01:00
parent e23e04953c
commit a5baeac428
2 changed files with 5 additions and 1 deletions

View File

@ -209,6 +209,8 @@ const RunDialog = new Lang.Class({
let entry = new St.Entry({ style_class: 'run-dialog-entry' });
ShellEntry.addContextMenu(entry);
entry.label_actor = label;
this._entryText = entry.clutter_text;
this.contentLayout.add(entry, { y_align: St.Align.START });
this.setInitialKeyFocus(this._entryText);