[gnome-shell/gbsneto/random-cleanups-pt1: 2/3] viewSelector: Chain up on show and hide



commit 5f000268b5a0ba1cd60c29f75ac5be843dee8d3b
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Jun 2 00:59:27 2020 -0300

    viewSelector: Chain up on show and hide
    
    The same reasoning as the previous commit.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1295

 js/ui/viewSelector.js | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js
index 5c0dd9bb75..33b7b4b56e 100644
--- a/js/ui/viewSelector.js
+++ b/js/ui/viewSelector.js
@@ -272,6 +272,7 @@ var ViewSelector = GObject.registerClass({
     }
 
     show() {
+        super.show();
         this.reset();
         this._workspacesDisplay.show(this._showAppsButton.checked);
         this._activePage = null;
@@ -302,6 +303,7 @@ var ViewSelector = GObject.registerClass({
     }
 
     hide() {
+        super.hide();
         this.reset();
         this._workspacesDisplay.hide();
     }


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