appDisplay: Save pages when folder apps change
After dragging an icon to inside a folder, we do not save the grid layout, leaving the icon's position stored when it actually isn't there anymore. Fix that by saving pages whenever folder apps change. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1447
This commit is contained in:
parent
7dafd25ef4
commit
59549e0b13
@ -1097,7 +1097,10 @@ class AppDisplay extends BaseAppView {
|
||||
let icon = this._items.get(id);
|
||||
if (!icon) {
|
||||
icon = new FolderIcon(id, path, this);
|
||||
icon.connect('apps-changed', this._redisplay.bind(this));
|
||||
icon.connect('apps-changed', () => {
|
||||
this._redisplay();
|
||||
this._savePages();
|
||||
});
|
||||
}
|
||||
|
||||
// Don't try to display empty folders
|
||||
|
Loading…
Reference in New Issue
Block a user