SVN revision: 56951
This commit is contained in:
Sebastian Dransfeld 2011-02-11 13:49:25 +00:00
parent 276eccb1bf
commit d22176c22d
3 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,7 @@
/* TODO: Consider flushing local icons cache after idling. /* TODO: Consider flushing local icons cache after idling.
* Icon requests will probably come in batches, f.ex. during menu * Icon requests will probably come in batches, f.ex. during menu
* browsing. * browsing.
* TODO: Retry closing desktop cache on dangling references.
*/ */
#include <libgen.h> #include <libgen.h>
@ -864,6 +865,7 @@ efreet_cache_desktop_add(Efreet_Desktop *desktop)
for (i = 0; i < arr->array_count; i++) for (i = 0; i < arr->array_count; i++)
{ {
/* Check if we already have this dir in cache */ /* Check if we already have this dir in cache */
/* TODO: Need to check if p is a subdir */
if (!strcmp(p, arr->array[i])) if (!strcmp(p, arr->array[i]))
return; return;
} }

View File

@ -1188,6 +1188,7 @@ efreet_desktop_changes_cb(void *data __UNUSED__, Ecore_File_Monitor *em __UNUSED
{ {
const char *ext; const char *ext;
/* TODO: If we get a stale symlink, we need to rerun cache creation */
switch (event) switch (event)
{ {
case ECORE_FILE_EVENT_NONE: case ECORE_FILE_EVENT_NONE:

View File

@ -953,6 +953,7 @@ static void
efreet_icon_changes_cb(void *data __UNUSED__, Ecore_File_Monitor *em __UNUSED__, efreet_icon_changes_cb(void *data __UNUSED__, Ecore_File_Monitor *em __UNUSED__,
Ecore_File_Event event, const char *path) Ecore_File_Event event, const char *path)
{ {
/* TODO: If we get a stale symlink, we need to rerun cache creation */
switch (event) switch (event)
{ {
case ECORE_FILE_EVENT_NONE: case ECORE_FILE_EVENT_NONE: