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



commit fffa5592f7ed4e9e5a0669313795095c60032ff6
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 cbc4242c46..274948af54 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -704,7 +704,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]