[gnome-shell/wip/overviewTransitions: 1/4] twice call
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/overviewTransitions: 1/4] twice call
- Date: Mon, 4 Aug 2014 14:50:25 +0000 (UTC)
commit ecbe8a316f6398368e914bd71d3e70cda69808f3
Author: Carlos Soriano <carlos soriano89 gmail com>
Date: Mon Aug 4 16:45:11 2014 +0200
twice call
js/ui/viewSelector.js | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js
index 8b1691b..76cc5c9 100644
--- a/js/ui/viewSelector.js
+++ b/js/ui/viewSelector.js
@@ -251,13 +251,11 @@ const ViewSelector = new Lang.Class({
this._stageKeyPressId = 0;
Main.overview.connect('showing', Lang.bind(this,
function () {
- this._resetShowAppsButton();
this._stageKeyPressId = global.stage.connect('key-press-event',
Lang.bind(this, this._onStageKeyPress));
}));
Main.overview.connect('hiding', Lang.bind(this,
function () {
- this._resetShowAppsButton();
if (this._stageKeyPressId != 0) {
global.stage.disconnect(this._stageKeyPressId);
this._stageKeyPressId = 0;
@@ -319,7 +317,7 @@ const ViewSelector = new Lang.Class({
},
zoomFromOverview: function() {
- this._showPage(this._workspacesPage);
+ this._showAppsButton.checked = false;
this._workspacesDisplay.zoomFromOverview();
if (!this._workspacesDisplay.activeWorkspaceHasMaximizedWindows())
@@ -406,12 +404,6 @@ const ViewSelector = new Lang.Class({
this._appsPage : this._workspacesPage);
},
- _resetShowAppsButton: function() {
- this._showAppsBlocked = true;
- this._showAppsButton.checked = false;
- this._showAppsBlocked = false;
- },
-
_onStageKeyPress: function(actor, event) {
// Ignore events while anything but the overview has
// pushed a modal (system modals, looking glass, ...)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]