Revert "userMenu: Don't update the presence icon immediately"
This reverts commit f1ca96bbf0
.
We're moving towards atomic panel upgrade, so we don't need this.
https://bugzilla.gnome.org/show_bug.cgi?id=683526
This commit is contained in:
@ -117,21 +117,6 @@ const Button = new Lang.Class({
|
||||
this.setMenu(new PopupMenu.PopupMenu(this.actor, menuAlignment, St.Side.TOP, 0));
|
||||
|
||||
this.setName(nameText);
|
||||
this._frozenCount = 0;
|
||||
},
|
||||
|
||||
freeze: function() {
|
||||
this._frozenCount++;
|
||||
},
|
||||
|
||||
thaw: function() {
|
||||
this._frozenCount--;
|
||||
if (this._frozenCount == 0)
|
||||
this.emit('thawed');
|
||||
},
|
||||
|
||||
get frozen() {
|
||||
return this._frozenCount > 0;
|
||||
},
|
||||
|
||||
setSensitive: function(sensitive) {
|
||||
|
Reference in New Issue
Block a user