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:
@ -1131,7 +1131,7 @@ const Panel = new Lang.Class({
|
||||
},
|
||||
|
||||
_tweenAndUpdatePanel: function() {
|
||||
this._freezeAndCloseIndicators();
|
||||
this._closeIndicatorMenus();
|
||||
|
||||
Tweener.addTween(this, {
|
||||
boxOpacity: 0,
|
||||
@ -1140,7 +1140,6 @@ const Panel = new Lang.Class({
|
||||
onCompleteScope: this,
|
||||
onComplete: function() {
|
||||
this._updatePanel();
|
||||
this._thawIndicators();
|
||||
Tweener.addTween(this, {
|
||||
boxOpacity: 255,
|
||||
time: Overview.ANIMATION_TIME / 2,
|
||||
@ -1154,21 +1153,13 @@ const Panel = new Lang.Class({
|
||||
this._tweenAndUpdatePanel();
|
||||
},
|
||||
|
||||
_freezeAndCloseIndicators: function() {
|
||||
_closeIndicatorMenus: function() {
|
||||
for (let role in this.statusArea) {
|
||||
let indicator = this.statusArea[role];
|
||||
indicator.freeze();
|
||||
indicator.menu.close();
|
||||
}
|
||||
},
|
||||
|
||||
_thawIndicators: function() {
|
||||
for (let role in this.statusArea) {
|
||||
let indicator = this.statusArea[role];
|
||||
indicator.thaw();
|
||||
}
|
||||
},
|
||||
|
||||
_hideIndicators: function() {
|
||||
for (let role in PANEL_ITEM_IMPLEMENTATIONS) {
|
||||
let indicator = this.statusArea[role];
|
||||
|
Reference in New Issue
Block a user