[gnome-shell] viewSelector: Allow to close the application view with escape
- From: Florian MÃllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] viewSelector: Allow to close the application view with escape
- Date: Mon, 20 Aug 2012 20:33:41 +0000 (UTC)
commit ee0102e86e1c0bb37a4644c867cdea630954430a
Author: Florian MÃllner <fmuellner gnome org>
Date: Wed Aug 15 12:20:24 2012 +0200
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 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js
index c2d3727..36626b2 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]