workspaceSwitcherPopup: Remove this.actor definition to self

Remove this.actor = actor, since the class is now an actor itself.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/487
This commit is contained in:
Marco Trevisan (Treviño) 2019-04-09 18:26:19 -05:00 committed by Florian Müllner
parent be2d630348
commit 2d30e310bc

View File

@ -85,8 +85,6 @@ class WorkspaceSwitcherPopup extends St.Widget {
height: global.screen_height, height: global.screen_height,
style_class: 'workspace-switcher-group' }); style_class: 'workspace-switcher-group' });
this.actor = this;
Main.uiGroup.add_actor(this); Main.uiGroup.add_actor(this);
this._timeoutId = 0; this._timeoutId = 0;
@ -142,7 +140,7 @@ class WorkspaceSwitcherPopup extends St.Widget {
time: ANIMATION_TIME, time: ANIMATION_TIME,
transition: 'easeOutQuad' transition: 'easeOutQuad'
}); });
this.actor.show(); this.show();
} }
display(direction, activeWorkspaceIndex) { display(direction, activeWorkspaceIndex) {