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
This commit is contained in:
Georges Basile Stavracas Neto 2019-12-04 17:09:10 -03:00 committed by Florian Müllner
parent 22cb0b002d
commit d28bc7afe6

View File

@ -923,6 +923,8 @@ var AllView = GObject.registerClass({
newFolderSettings.set_strv('apps', apps); newFolderSettings.set_strv('apps', apps);
newFolderSettings.apply(); newFolderSettings.apply();
this.selectApp(newFolderId);
return true; return true;
} }
}); });