Really hide 'Show Keyboard Layout' on the lock screen
We have to set _showLayoutItem.actor.visible, not _showLayoutItem.visible.
This commit is contained in:
parent
4f359e62df
commit
24efeff788
@ -238,7 +238,7 @@ const InputSourceIndicator = new Lang.Class({
|
|||||||
// but at least for now it is used as "allow popping up windows
|
// but at least for now it is used as "allow popping up windows
|
||||||
// from shell menus"; we can always add a separate sessionMode
|
// from shell menus"; we can always add a separate sessionMode
|
||||||
// option if need arises.
|
// option if need arises.
|
||||||
this._showLayoutItem.visible = Main.sessionMode.allowSettings;
|
this._showLayoutItem.actor.visible = Main.sessionMode.allowSettings;
|
||||||
},
|
},
|
||||||
|
|
||||||
_currentInputSourceChanged: function() {
|
_currentInputSourceChanged: function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user