aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2012-11-13 20:36:26 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2012-11-13 20:36:26 +0000
commit7adfa90371a55a9bc6668ff38c4858232d70fc75 (patch)
treebc8406214640d65226803d01f501ea2d1cce0879
parentfix authors (diff)
downloadefl-7adfa90371a55a9bc6668ff38c4858232d70fc75.tar.gz
efreet: monitor links to directories
SVN revision: 79243
-rw-r--r--legacy/efreet/src/bin/efreetd_cache.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/legacy/efreet/src/bin/efreetd_cache.c b/legacy/efreet/src/bin/efreetd_cache.c
index 9a920e99c6..6ccc4a6861 100644
--- a/legacy/efreet/src/bin/efreetd_cache.c
+++ b/legacy/efreet/src/bin/efreetd_cache.c
@@ -235,8 +235,9 @@ icon_changes_listen_recursive(const char *path, Eina_Bool base)
if (!it) return;
EINA_ITERATOR_FOREACH(it, info)
{
- if (info->type != EINA_FILE_DIR) continue;
- icon_changes_monitor_add(info->path);
+ if (((info->type == EINA_FILE_LNK) && (ecore_file_is_dir(info->path))) ||
+ (info->type == EINA_FILE_DIR))
+ icon_changes_monitor_add(info->path);
}
eina_iterator_free(it);
}
@@ -347,8 +348,9 @@ desktop_changes_listen_recursive(const char *path, Eina_Bool base)
if (!it) return;
EINA_ITERATOR_FOREACH(it, info)
{
- if (info->type != EINA_FILE_DIR) continue;
- desktop_changes_listen_recursive(info->path, EINA_FALSE);
+ if (((info->type == EINA_FILE_LNK) && (ecore_file_is_dir(info->path))) ||
+ (info->type == EINA_FILE_DIR))
+ desktop_changes_listen_recursive(info->path);
}
eina_iterator_free(it);
}