efreet: TODO++

SVN revision: 47520
This commit is contained in:
Sebastian Dransfeld 2010-03-27 20:58:45 +00:00
parent 3806dd7a2c
commit cfc96c36ad
1 changed files with 5 additions and 0 deletions

View File

@ -40,6 +40,11 @@ cache_add(const char *path, const char *file_id, int priority __UNUSED__)
ext = strrchr(path, '.');
if (!ext || (strcmp(ext, ".desktop") && strcmp(ext, ".directory"))) return 1;
/*
* TODO:
* Get cached version first and check mtime. Only get uncached if we need
* to update.
*/
desk = efreet_desktop_uncached_new(path);
if (!desk || (desk->type != EFREET_DESKTOP_TYPE_APPLICATION &&