js/status: Use menu items as actors
All menu items are actors now, so remove all the actor property usages. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/499
This commit is contained in:

committed by
Florian Müllner

parent
bdf66d7b62
commit
41dd744b74
@ -101,12 +101,12 @@ var Indicator = class extends PanelMenu.SystemIndicator {
|
||||
_syncIndicator() {
|
||||
if (this._managerProxy == null) {
|
||||
this._indicator.visible = false;
|
||||
this._item.actor.visible = false;
|
||||
this._item.visible = false;
|
||||
return;
|
||||
}
|
||||
|
||||
this._indicator.visible = this._managerProxy.InUse;
|
||||
this._item.actor.visible = this._indicator.visible;
|
||||
this._item.visible = this._indicator.visible;
|
||||
this._updateMenuLabels();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user