[gnome-shell/gnome-41] appMenu: Hide overview when pressing on 'Show Details'



commit e65ae2ec451072e6c4d4f023670fa430407e72ef
Author: PhilProg <philroh2008 gmail com>
Date:   Tue Jun 7 19:22:54 2022 +0000

    appMenu: Hide overview when pressing on 'Show Details'
    
    If the 'Show Details' in the app menu is pressed, the overview
    will hide now, making it consistent with other launch actions.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5279
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2329>
    (cherry picked from commit 9eef6ec44c67f637369a2fcfc8ff9539be3f0b9e)

 js/ui/appMenu.js | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/js/ui/appMenu.js b/js/ui/appMenu.js
index 87d2218cdf..2cc481b915 100644
--- a/js/ui/appMenu.js
+++ b/js/ui/appMenu.js
@@ -88,6 +88,7 @@ var AppMenu = class AppMenu extends PopupMenu.PopupMenu {
                 'org.gtk.Actions', 'Activate',
                 new GLib.Variant('(sava{sv})', ['details', [args], null]),
                 null, 0, -1, null);
+            Main.overview.hide();
         });
 
         this.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());


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