a11y: Set a name for the keyboard status icon

https://bugzilla.gnome.org/show_bug.cgi?id=672719
This commit is contained in:
Florian Müllner 2012-03-23 21:12:51 +01:00
parent b833aff3c8
commit a2d4f133b7

View File

@ -41,7 +41,7 @@ const XKBIndicator = new Lang.Class({
Extends: PanelMenu.Button, Extends: PanelMenu.Button,
_init: function() { _init: function() {
this.parent(0.0); this.parent(0.0, _("Keyboard"));
this._container = new Shell.GenericContainer(); this._container = new Shell.GenericContainer();
this._container.connect('get-preferred-width', Lang.bind(this, this._containerGetPreferredWidth)); this._container.connect('get-preferred-width', Lang.bind(this, this._containerGetPreferredWidth));