forked from enlightenment/efl
Efreet: Only create cache dir if we update cache
SVN revision: 58601
This commit is contained in:
parent
f67fbf23e5
commit
1ff5c07744
|
@ -131,6 +131,8 @@ efreet_cache_init(void)
|
|||
fallbacks = eina_hash_string_superfast_new(EINA_FREE_CB(efreet_cache_icon_fallback_free));
|
||||
desktops = eina_hash_string_superfast_new(NULL);
|
||||
|
||||
if (efreet_cache_update)
|
||||
{
|
||||
snprintf(buf, sizeof(buf), "%s/efreet", efreet_cache_home_get());
|
||||
if (!ecore_file_exists(buf))
|
||||
{
|
||||
|
@ -138,8 +140,6 @@ efreet_cache_init(void)
|
|||
efreet_setowner(buf);
|
||||
}
|
||||
|
||||
if (efreet_cache_update)
|
||||
{
|
||||
cache_exe_handler = ecore_event_handler_add(ECORE_EXE_EVENT_DEL,
|
||||
cache_exe_cb, NULL);
|
||||
if (!cache_exe_handler) goto error;
|
||||
|
|
Loading…
Reference in New Issue