appDisplay: Support the 'excluded-apps' key for app folders
https://bugzilla.gnome.org/show_bug.cgi?id=723179
This commit is contained in:
parent
bb8fa61cb4
commit
bb8397b9b1
@ -1075,8 +1075,12 @@ const FolderIcon = new Lang.Class({
|
||||
|
||||
this.view.removeAll();
|
||||
|
||||
let excludedApps = this._folder.get_strv('excluded-apps');
|
||||
let appSys = Shell.AppSystem.get_default();
|
||||
let addAppId = (function addAppId(appId) {
|
||||
if (excludedApps.indexOf(appId) >= 0)
|
||||
return;
|
||||
|
||||
let app = appSys.lookup_app(appId);
|
||||
if (!app)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user