summaryrefslogtreecommitdiff
path: root/legacy/efreet
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2011-03-08 11:40:54 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2011-03-08 11:40:54 +0000
commitc45d4c937dfc23036ef0c4610f8694cffb27b02e (patch)
treefb152b97f4d7ab98ed4090091849bd7889359f8c /legacy/efreet
parentdabd51553848af9e2699d03a6fff1100a8030533 (diff)
Efreet: Listen for ECORE_FILE_EVENT_CLOSED
SVN revision: 57574
Diffstat (limited to 'legacy/efreet')
-rw-r--r--legacy/efreet/src/lib/efreet_cache.c4
-rw-r--r--legacy/efreet/src/lib/efreet_desktop.c1
-rw-r--r--legacy/efreet/src/lib/efreet_icon.c1
3 files changed, 4 insertions, 2 deletions
diff --git a/legacy/efreet/src/lib/efreet_cache.c b/legacy/efreet/src/lib/efreet_cache.c
index 514f4bc35b..786841dcdc 100644
--- a/legacy/efreet/src/lib/efreet_cache.c
+++ b/legacy/efreet/src/lib/efreet_cache.c
@@ -1040,8 +1040,8 @@ cache_update_cb(void *data __UNUSED__, Ecore_File_Monitor *em __UNUSED__,
1040 Efreet_Old_Cache *d = NULL; 1040 Efreet_Old_Cache *d = NULL;
1041 Eina_List *l = NULL; 1041 Eina_List *l = NULL;
1042 1042
1043 if (event != ECORE_FILE_EVENT_CREATED_FILE && 1043 if (event != ECORE_FILE_EVENT_CLOSED)
1044 event != ECORE_FILE_EVENT_MODIFIED) return; 1044 return;
1045 1045
1046 file = ecore_file_file_get(path); 1046 file = ecore_file_file_get(path);
1047 if (!file) return; 1047 if (!file) return;
diff --git a/legacy/efreet/src/lib/efreet_desktop.c b/legacy/efreet/src/lib/efreet_desktop.c
index b47d28e0cc..e13505f9be 100644
--- a/legacy/efreet/src/lib/efreet_desktop.c
+++ b/legacy/efreet/src/lib/efreet_desktop.c
@@ -1204,6 +1204,7 @@ efreet_desktop_changes_cb(void *data __UNUSED__, Ecore_File_Monitor *em __UNUSED
1204 case ECORE_FILE_EVENT_CREATED_FILE: 1204 case ECORE_FILE_EVENT_CREATED_FILE:
1205 case ECORE_FILE_EVENT_DELETED_FILE: 1205 case ECORE_FILE_EVENT_DELETED_FILE:
1206 case ECORE_FILE_EVENT_MODIFIED: 1206 case ECORE_FILE_EVENT_MODIFIED:
1207 case ECORE_FILE_EVENT_CLOSED:
1207 ext = strrchr(path, '.'); 1208 ext = strrchr(path, '.');
1208 if (ext && (!strcmp(ext, ".desktop") || !strcmp(ext, ".directory"))) 1209 if (ext && (!strcmp(ext, ".desktop") || !strcmp(ext, ".directory")))
1209 efreet_cache_desktop_update(); 1210 efreet_cache_desktop_update();
diff --git a/legacy/efreet/src/lib/efreet_icon.c b/legacy/efreet/src/lib/efreet_icon.c
index 3ce16746f7..7c746e9b20 100644
--- a/legacy/efreet/src/lib/efreet_icon.c
+++ b/legacy/efreet/src/lib/efreet_icon.c
@@ -964,6 +964,7 @@ efreet_icon_changes_cb(void *data __UNUSED__, Ecore_File_Monitor *em __UNUSED__,
964 case ECORE_FILE_EVENT_CREATED_FILE: 964 case ECORE_FILE_EVENT_CREATED_FILE:
965 case ECORE_FILE_EVENT_DELETED_FILE: 965 case ECORE_FILE_EVENT_DELETED_FILE:
966 case ECORE_FILE_EVENT_MODIFIED: 966 case ECORE_FILE_EVENT_MODIFIED:
967 case ECORE_FILE_EVENT_CLOSED:
967 case ECORE_FILE_EVENT_DELETED_DIRECTORY: 968 case ECORE_FILE_EVENT_DELETED_DIRECTORY:
968 case ECORE_FILE_EVENT_CREATED_DIRECTORY: 969 case ECORE_FILE_EVENT_CREATED_DIRECTORY:
969 efreet_cache_icon_update(); 970 efreet_cache_icon_update();