Really hide 'Show Keyboard Layout' on the lock screen

We have to set _showLayoutItem.actor.visible,
not _showLayoutItem.visible.
This commit is contained in:
Matthias Clasen 2012-10-01 22:29:21 -04:00
parent 4f359e62df
commit 24efeff788

View File

@ -238,7 +238,7 @@ const InputSourceIndicator = new Lang.Class({
// but at least for now it is used as "allow popping up windows
// from shell menus"; we can always add a separate sessionMode
// option if need arises.
this._showLayoutItem.visible = Main.sessionMode.allowSettings;
this._showLayoutItem.actor.visible = Main.sessionMode.allowSettings;
},
_currentInputSourceChanged: function() {