[gnome-shell] workspaceSwitcherPopup: Remove this.actor definition to self



commit 2d30e310bc606fb59b234cd99513e55cc20eccc4
Author: Marco Trevisan (Treviño) <mail 3v1n0 net>
Date:   Tue Apr 9 18:26:19 2019 -0500

    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

 js/ui/workspaceSwitcherPopup.js | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/js/ui/workspaceSwitcherPopup.js b/js/ui/workspaceSwitcherPopup.js
index 26404eaab..648bc63fb 100644
--- a/js/ui/workspaceSwitcherPopup.js
+++ b/js/ui/workspaceSwitcherPopup.js
@@ -85,8 +85,6 @@ class WorkspaceSwitcherPopup extends St.Widget {
                       height: global.screen_height,
                       style_class: 'workspace-switcher-group' });
 
-        this.actor = this;
-
         Main.uiGroup.add_actor(this);
 
         this._timeoutId = 0;
@@ -142,7 +140,7 @@ class WorkspaceSwitcherPopup extends St.Widget {
                                             time: ANIMATION_TIME,
                                             transition: 'easeOutQuad'
                                            });
-        this.actor.show();
+        this.show();
     }
 
     display(direction, activeWorkspaceIndex) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]