From 1390cd40483e980aa2aee2796594cb553d38d0cc Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Sat, 16 Feb 2013 12:50:25 -0500 Subject: [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js index 7a3182a2c..85ff6156d 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;