From 038917e5f1fb24f8f6dd232bb5f346087a72d137 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Tue, 2 Jul 2019 13:33:07 -0300 Subject: [PATCH] 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 --- 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 21d4912e3..3cb71f1d2 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -394,7 +394,7 @@ var AllView = class AllView extends BaseAppView { if (!icon) { icon = new FolderIcon(id, path, 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); this.folderIcons.push(icon);