forked from enlightenment/efl
Don't store Hidden elements in utils cache
Hidden elements should never be returned to the user, they are "Deleted" SVN revision: 55405
This commit is contained in:
parent
30099cb45f
commit
3a0af7b9c5
|
@ -85,7 +85,7 @@ cache_add(const char *path, const char *file_id, int priority __UNUSED__, int *c
|
||||||
/* TODO: We should check priority, and not just hope we search in right order */
|
/* TODO: We should check priority, and not just hope we search in right order */
|
||||||
/* TODO: We need to find out if prioritized file id has changed because of
|
/* TODO: We need to find out if prioritized file id has changed because of
|
||||||
* changed search order. */
|
* changed search order. */
|
||||||
if (desk->type == EFREET_DESKTOP_TYPE_APPLICATION &&
|
if (!desk->hidden && desk->type == EFREET_DESKTOP_TYPE_APPLICATION &&
|
||||||
file_id && !eina_hash_find(file_ids, file_id))
|
file_id && !eina_hash_find(file_ids, file_id))
|
||||||
{
|
{
|
||||||
int id;
|
int id;
|
||||||
|
|
Loading…
Reference in New Issue