efreet: only run one builder instance
authorSebastian Dransfeld <sd@tango.flipp.net>
Fri, 2 Nov 2012 02:49:10 +0000 (02:49 +0000)
committerSebastian Dransfeld <sd@tango.flipp.net>
Fri, 2 Nov 2012 02:49:10 +0000 (02:49 +0000)
SVN revision: 78814

legacy/efreet/src/bin/efreetd_cache.c

index ad16dc3ee1452106fbd4710e6eda4e28f41bff91..70c9303e5c4e2ed43082b1e001a29a11cb516fb8 100644 (file)
@@ -42,6 +42,7 @@ icon_cache_update_cache_cb(void *data __UNUSED__)
 
    icon_cache_timer = NULL;
 
+   if (icon_cache_exe) return ECORE_CALLBACK_CANCEL;
    if ((!icon_flush) && (!icon_exts)) return ECORE_CALLBACK_CANCEL;
 
    /* TODO: Queue if already running */
@@ -100,6 +101,7 @@ desktop_cache_update_cache_cb(void *data __UNUSED__)
 
    desktop_cache_timer = NULL;
 
+   if (desktop_cache_exe) return ECORE_CALLBACK_CANCEL;
    /* TODO: Queue if already running */
    prio = ecore_exe_run_priority_get();
    ecore_exe_run_priority_set(19);