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
This commit is contained in:
Jasper St. Pierre 2012-09-01 08:44:51 -03:00
parent b257029d3e
commit aa9c095c8e

View File

@ -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() {