[gnome-shell] Really hide 'Show Keyboard Layout' on the lock screen



commit 24efeff7882299e14836dead0377f7939293017b
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Oct 1 22:29:21 2012 -0400

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/status/keyboard.js b/js/ui/status/keyboard.js
index fb9e0c9..f12c787 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() {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]