[gnome-shell/gbsneto/folders-as-dialogs: 2/9] appDisplay: Add the folder popup to AllView itself



commit 273d653421d614fe879380bd2478db9bd77b5c2f
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Mon Jan 20 17:04:37 2020 -0300

    appDisplay: Add the folder popup to AllView itself
    
    Now the the folder popup behaves like a dialog, it must be
    above the app grid, and not be affected by the scroll view
    translation.
    
    Add the folder popup to the AllView itself, instead of the
    internal Shell.Stack that is inside the scroll view.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/896

 js/ui/appDisplay.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index ae41c97979..c750ab5efd 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -703,7 +703,7 @@ var AllView = GObject.registerClass({
     }
 
     addFolderPopup(popup) {
-        this._stack.add_actor(popup);
+        this.add_child(popup);
         popup.connect('open-state-changed', (o, isOpen) => {
             this._eventBlocker.visible = isOpen;
 


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