[gnome-shell/T27795: 69/138] viewSelector: Make the viewSelector default to the apps page



commit 8fc0a69481b630c0d27c2b98b59efad23f2d974f
Author: Joaquim Rocha <jrocha endlessm com>
Date:   Wed May 31 15:13:25 2017 +0200

    viewSelector: Make the viewSelector default to the apps page
    
    Because this is our default view.
    
    https://phabricator.endlessm.com/T17325

 js/ui/viewSelector.js | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js
index 4e82c4968b..11d0aeaa95 100644
--- a/js/ui/viewSelector.js
+++ b/js/ui/viewSelector.js
@@ -265,12 +265,9 @@ var ViewSelector = class {
 
     show() {
         this.reset();
-        this._workspacesDisplay.show(this._showAppsButton.checked);
+        this._workspacesDisplay.show(true);
         this._activePage = null;
-        if (this._showAppsButton.checked)
-            this._showPage(this._appsPage);
-        else
-            this._showPage(this._workspacesPage);
+        this._showPage(this._appsPage);
 
         if (!this._workspacesDisplay.activeWorkspaceHasMaximizedWindows())
             Main.overview.fadeOutDesktop();


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