[gnome-shell/wip/overviewAnimationsBakcup: 2/3] f
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/overviewAnimationsBakcup: 2/3] f
- Date: Sun, 13 Jul 2014 13:42:27 +0000 (UTC)
commit 6ca72cf5eb143d1f6467f02035587acce5c40f49
Author: Carlos Soriano <carlos soriano89 gmail com>
Date: Thu Jul 10 17:50:07 2014 +0200
f
js/ui/viewSelector.js | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js
index db4cbb1..8b350da 100644
--- a/js/ui/viewSelector.js
+++ b/js/ui/viewSelector.js
@@ -304,6 +304,7 @@ const ViewSelector = new Lang.Class({
},
showApps: function() {
+ this.showingApps = true;
Main.overview.show();
this._showAppsButton.checked = true;
},
@@ -313,7 +314,10 @@ const ViewSelector = new Lang.Class({
this._workspacesDisplay.show();
this._activePage = null;
- this._showPage(this._workspacesPage);
+ if (this.showingApps)
+ this._showPage(this._appsPage);
+ else
+ this._showPage(this._workspacesPage);
if (!this._workspacesDisplay.activeWorkspaceHasMaximizedWindows())
Main.overview.fadeOutDesktop();
@@ -417,8 +421,6 @@ const ViewSelector = new Lang.Class({
this._showAppsBlocked = true;
this._showAppsButton.checked = false;
this._showAppsBlocked = false;
-
- this._showPage(this._workspacesPage, true);
},
_onStageKeyPress: function(actor, event) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]