From 24efeff7882299e14836dead0377f7939293017b Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 1 Oct 2012 22:29:21 -0400 Subject: [PATCH] Really hide 'Show Keyboard Layout' on the lock screen We have to set _showLayoutItem.actor.visible, not _showLayoutItem.visible. --- js/ui/status/keyboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/status/keyboard.js b/js/ui/status/keyboard.js index fb9e0c962..f12c787d5 100644 --- a/js/ui/status/keyboard.js +++ b/js/ui/status/keyboard.js @@ -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() {