a11y: name label and main status chooser item don't neeed to be focusable

This also gets the status combobox focusable again.

https://bugzilla.gnome.org/show_bug.cgi?id=667439
This commit is contained in:
Alejandro Piñeiro 2012-08-21 17:39:01 +02:00
parent 8ebd2ff9eb
commit 370de395f7

View File

@ -100,6 +100,7 @@ const IMUserNameItem = new Lang.Class({
_init: function() { _init: function() {
this.parent({ reactive: false, this.parent({ reactive: false,
can_focus: false,
style_class: 'status-chooser-user-name' }); style_class: 'status-chooser-user-name' });
this._wrapper = new Shell.GenericContainer(); this._wrapper = new Shell.GenericContainer();
@ -137,6 +138,7 @@ const IMStatusChooserItem = new Lang.Class({
_init: function() { _init: function() {
this.parent({ reactive: false, this.parent({ reactive: false,
can_focus: false,
style_class: 'status-chooser' }); style_class: 'status-chooser' });
this._userManager = AccountsService.UserManager.get_default(); this._userManager = AccountsService.UserManager.get_default();