Commit 58e0b80c authored by Marco Trevisan's avatar Marco Trevisan 🎺 Committed by Florian Müllner

panel: Use menu items as actors

All menu items are actors now, so remove all the actor property usages.

!499
parent 41dd744b
......@@ -122,7 +122,7 @@ class AppMenu extends PopupMenu.PopupMenu {
_updateDetailsVisibility() {
let sw = this._appSystem.lookup_app('org.gnome.Software.desktop');
this._detailsItem.actor.visible = (sw != null);
this._detailsItem.visible = (sw != null);
}
isEmpty() {
......@@ -160,7 +160,7 @@ class AppMenu extends PopupMenu.PopupMenu {
});
});
this._newWindowItem.actor.visible =
this._newWindowItem.visible =
app && app.can_open_new_window() && !actions.includes('new-window');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment