[gnome-shell/wip/jimmac/dash-icon-spacing: 58/72] viewSelector: Hide overview on Escape




commit 5c414b7c76ef49f8e2f643d0fdcf7bc94b7ce8a9
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Jan 8 17:44:57 2021 -0300

    viewSelector: Hide overview on Escape
    
    As per design direction, pressing Escape when searching should
    cancel search, and when either in the window picker or app grid,
    it should leave the overview.

 js/ui/viewSelector.js | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js
index 388e906aed..8c1a5339e4 100644
--- a/js/ui/viewSelector.js
+++ b/js/ui/viewSelector.js
@@ -311,8 +311,6 @@ var ViewSelector = GObject.registerClass({
         if (symbol === Clutter.KEY_Escape) {
             if (this._searchActive)
                 this.reset();
-            else if (this._showAppsButton.checked)
-                this._showAppsButton.checked = false;
             else
                 Main.overview.hide();
             return Clutter.EVENT_STOP;


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