[gnome-shell/gbsneto/folder-improvements: 1/2] appDisplay: Show newly created folder when creating



commit bbb6eb7cc132f2dfc5fe2dfee4b6892e163742ae
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed Dec 4 17:09:10 2019 -0300

    appDisplay: Show newly created folder when creating
    
    The icon grid currently sorts icons by their names. When creating new
    folders, the folder may end up being in a different page, and that's
    confusing since we don't actually move to where the new folder is.
    
    Move the icon grid to the newly created folder.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/883

 js/ui/appDisplay.js | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 61dd7ae437..2dcf866e4f 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -923,6 +923,8 @@ var AllView = GObject.registerClass({
         newFolderSettings.set_strv('apps', apps);
         newFolderSettings.apply();
 
+        this.selectApp(newFolderId);
+
         return true;
     }
 });


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