From aa9c095c8e9042e54dd02d311e701b9140dbd530 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sat, 1 Sep 2012 08:44:51 -0300 Subject: [PATCH] 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 file changed, 4 insertions(+), 2 deletions(-) diff --git a/js/ui/panel.js b/js/ui/panel.js index 2b24e3ff1..a3a6aac66 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() {