[gnome-shell] panel: Make sure to show the app menu button after unlocking the screen



commit aa9c095c8e9042e54dd02d311e701b9140dbd530
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sat Sep 1 08:44:51 2012 -0300

    panel: Make sure to show the app menu button after unlocking the screen
    
    I'm not sure how we missed this one.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=683154

 js/ui/panel.js |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/panel.js b/js/ui/panel.js
index 2b24e3f..a3a6aac 100644
--- a/js/ui/panel.js
+++ b/js/ui/panel.js
@@ -469,10 +469,12 @@ const AppMenuButton = new Lang.Class({
     },
 
     setLockedState: function(locked) {
-        if (locked)
+        if (locked) {
             this.hide();
-        else
+        } else {
+            this.show();
             this._sync();
+        }
     },
 
     _sync: function() {



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