git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@55144
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
char *dir = NULL;
Eina_Bool changed = EINA_FALSE;
int lockfd = -1;
+ int tmpfd = -1;
int i;
for (i = 1; i < argc; i++)
/* save data */
eet_close(ef);
+ /* touch update file */
+ snprintf(file, sizeof(file), "%s/.efreet/icon_data.update", efreet_home_dir_get());
+ tmpfd = open(file, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR);
+ if (tmpfd >= 0)
+ {
+ write(tmpfd, "a", 1);
+ close(tmpfd);
+ }
+
on_error_efreet:
efreet_shutdown();
ecore_event_add(EFREET_EVENT_DESKTOP_CACHE_UPDATE, ev, desktop_cache_update_free, d);
}
#ifdef ICON_CACHE
- else if (!strcmp(file, efreet_icon_cache_file()))
+ else if (!strcmp(file, "icon_data.update"))
{
if (theme_cache)
{