From ee0102e86e1c0bb37a4644c867cdea630954430a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 15 Aug 2012 12:20:24 +0200 Subject: [PATCH] viewSelector: Allow to close the application view with escape With the latest changes to the overview, the application view is now clearly on a different level compared to the window picker. For that reason it now makes sense to close it on Escape rather than hiding the overview directly, as we do for search. https://bugzilla.gnome.org/show_bug.cgi?id=682109 --- js/ui/viewSelector.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js index c2d3727f7..36626b275 100644 --- a/js/ui/viewSelector.js +++ b/js/ui/viewSelector.js @@ -240,6 +240,8 @@ const ViewSelector = new Lang.Class({ if (symbol == Clutter.Escape) { if (this.active) this.reset(); + else if (this._showAppsButton.checked) + this._resetShowAppsButton(); else Main.overview.hide(); return true;