ERR("Failed to create directory '%s'", buf);
}
- EFREET_EVENT_ICON_CACHE_UPDATE = ecore_event_type_new();
- EFREET_EVENT_DESKTOP_CACHE_UPDATE = ecore_event_type_new();
- EFREET_EVENT_DESKTOP_CACHE_BUILD = ecore_event_type_new();
+ if (EFREET_EVENT_ICON_CACHE_UPDATE == 0)
+ {
+ EFREET_EVENT_ICON_CACHE_UPDATE = ecore_event_type_new();
+ EFREET_EVENT_DESKTOP_CACHE_UPDATE = ecore_event_type_new();
+ EFREET_EVENT_DESKTOP_CACHE_BUILD = ecore_event_type_new();
+ }
themes = eina_hash_string_superfast_new(EINA_FREE_CB(efreet_cache_icon_theme_free));
icons = eina_hash_string_superfast_new(EINA_FREE_CB(efreet_cache_icon_free));
{
Efreet_Old_Cache *d;
+ ecore_event_type_flush(EFREET_EVENT_ICON_CACHE_UPDATE,
+ EFREET_EVENT_DESKTOP_CACHE_UPDATE,
+ EFREET_EVENT_DESKTOP_CACHE_BUILD);
+
IF_RELEASE(theme_name);
icon_cache = efreet_cache_close(icon_cache);