forked from enlightenment/efl
parent
fec2ca310f
commit
0ccccf1934
|
@ -368,6 +368,7 @@ main(int argc, char **argv)
|
|||
char *dir = NULL;
|
||||
Eina_Bool changed = EINA_FALSE;
|
||||
int lockfd = -1;
|
||||
int tmpfd = -1;
|
||||
int i;
|
||||
|
||||
for (i = 1; i < argc; i++)
|
||||
|
@ -529,6 +530,15 @@ main(int argc, char **argv)
|
|||
/* 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();
|
||||
|
||||
|
|
|
@ -681,7 +681,7 @@ cache_update_cb(void *data __UNUSED__, Ecore_File_Monitor *em __UNUSED__,
|
|||
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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue