allView: Redisplay on folder changes
Now that redisplaying is a lightweight operation that only adds and removes what changed, we don't need to just refilter the app icons in AllView when a folder changes. Call _redisplay() in AllView when folders change. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/645
This commit is contained in:
parent
f214c5b572
commit
038917e5f1
@ -394,7 +394,7 @@ var AllView = class AllView extends BaseAppView {
|
|||||||
if (!icon) {
|
if (!icon) {
|
||||||
icon = new FolderIcon(id, path, this);
|
icon = new FolderIcon(id, path, this);
|
||||||
icon.connect('name-changed', this._itemNameChanged.bind(this));
|
icon.connect('name-changed', this._itemNameChanged.bind(this));
|
||||||
icon.connect('apps-changed', this._refilterApps.bind(this));
|
icon.connect('apps-changed', this._redisplay.bind(this));
|
||||||
}
|
}
|
||||||
newApps.push(icon);
|
newApps.push(icon);
|
||||||
this.folderIcons.push(icon);
|
this.folderIcons.push(icon);
|
||||||
|
Loading…
Reference in New Issue
Block a user