[gnome-shell] viewSelector: don't use resetShowAppsButton when pressing escape



commit 1390cd40483e980aa2aee2796594cb553d38d0cc
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Feb 16 12:50:25 2013 -0500

    viewSelector: don't use resetShowAppsButton when pressing escape
    
    Set the checked property explicitly. This is because
    resetShowAppsButton() will only be used to flip the button state
    blocking the page change in a future commit.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=693974

 js/ui/viewSelector.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js
index 7a3182a..85ff615 100644
--- a/js/ui/viewSelector.js
+++ b/js/ui/viewSelector.js
@@ -268,7 +268,7 @@ const ViewSelector = new Lang.Class({
             if (this._searchActive)
                 this.reset();
             else if (this._showAppsButton.checked)
-                this._resetShowAppsButton();
+                this._showAppsButton.checked = false;
             else
                 Main.overview.hide();
             return true;


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