efreet: Always update cache if not read from eet

SVN revision: 47734
This commit is contained in:
Sebastian Dransfeld 2010-04-03 18:46:37 +00:00
parent 1122ed6c56
commit 7c3818fb1d
1 changed files with 1 additions and 3 deletions

View File

@ -463,10 +463,8 @@ efreet_desktop_get(const char *file)
buf[PATH_MAX - 1] = '\0';
p = dirname(buf);
if (!eina_list_search_unsorted(efreet_desktop_dirs, EINA_COMPARE_CB(strcmp), p))
{
efreet_desktop_dirs = eina_list_append(efreet_desktop_dirs, eina_stringshare_add(p));
efreet_desktop_update_cache();
}
efreet_desktop_update_cache();
}
if (efreet_desktop_cache) eina_hash_add(efreet_desktop_cache, desktop->orig_path, desktop);