summaryrefslogtreecommitdiff
path: root/legacy/efreet
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2010-12-09 12:19:00 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2010-12-09 12:19:00 +0000
commit3a0af7b9c506da896f4c2586e7511d2cf800c4dc (patch)
treea720d49dba89b5b767f3c02f5c1f4b4ccaebee51 /legacy/efreet
parent30099cb45fda486845ae255918a401a605f1705f (diff)
Don't store Hidden elements in utils cache
Hidden elements should never be returned to the user, they are "Deleted" SVN revision: 55405
Diffstat (limited to 'legacy/efreet')
-rw-r--r--legacy/efreet/src/bin/efreet_desktop_cache_create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/efreet/src/bin/efreet_desktop_cache_create.c b/legacy/efreet/src/bin/efreet_desktop_cache_create.c
index ce726b0762..a2d6f6951e 100644
--- a/legacy/efreet/src/bin/efreet_desktop_cache_create.c
+++ b/legacy/efreet/src/bin/efreet_desktop_cache_create.c
@@ -85,7 +85,7 @@ cache_add(const char *path, const char *file_id, int priority __UNUSED__, int *c
85 /* TODO: We should check priority, and not just hope we search in right order */ 85 /* TODO: We should check priority, and not just hope we search in right order */
86 /* TODO: We need to find out if prioritized file id has changed because of 86 /* TODO: We need to find out if prioritized file id has changed because of
87 * changed search order. */ 87 * changed search order. */
88 if (desk->type == EFREET_DESKTOP_TYPE_APPLICATION && 88 if (!desk->hidden && desk->type == EFREET_DESKTOP_TYPE_APPLICATION &&
89 file_id && !eina_hash_find(file_ids, file_id)) 89 file_id && !eina_hash_find(file_ids, file_id))
90 { 90 {
91 int id; 91 int id;