[gnome-shell/gbsneto/icon-grid-part1: 4/4] allView: Redisplay on folder changes
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gbsneto/icon-grid-part1: 4/4] allView: Redisplay on folder changes
- Date: Mon, 5 Aug 2019 22:55:29 +0000 (UTC)
commit eef9b4ea40090a63ad793d65e61035e7af1a4069
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Jul 2 13:33:07 2019 -0300
allView: Redisplay on folder changes
Now that redisplaying is a lightweight operation that only
adds and removes what changed, we can not be concerned about
redisplaying on folder changes.
Redisplaying will be necessary when custom order in the app
grid is implemented, in order to update not only which icons
are hidden, but also their position.
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 36c0281db..0f9f4d902 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -384,7 +384,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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]