[gnome-shell] appDisplay: Support the 'excluded-apps' key for app folders
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] appDisplay: Support the 'excluded-apps' key for app folders
- Date: Wed, 29 Jan 2014 19:05:14 +0000 (UTC)
commit bb8397b9b167c95d6055fe172c1a644a7c1e2498
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Jan 28 12:27:22 2014 -0500
appDisplay: Support the 'excluded-apps' key for app folders
https://bugzilla.gnome.org/show_bug.cgi?id=723179
js/ui/appDisplay.js | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index ec71ad0..748537d 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]