aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-12-02 20:32:07 +0900
committerChris Michael <cp.michael@samsung.com>2015-12-03 11:31:06 -0500
commite2db06f11f76383efdaa68fc1e7a334e64626800 (patch)
tree9739c406c1d458628686900b1222e3253bbffbec
parentefreet desktop tracking - fix monitoring of dirs of custom desktops (diff)
downloadefl-e2db06f11f76383efdaa68fc1e7a334e64626800.tar.gz
fix efreetd to scan more subdirs for desktop and icon files
we miss desktop files for apps and stuff because we dont monitor too deep a tree. this ups our tree depth to 10 levels. @fix
-rw-r--r--src/bin/efreet/efreetd_cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/efreet/efreetd_cache.c b/src/bin/efreet/efreetd_cache.c
index 6fa88546b0..b72450d05b 100644
--- a/src/bin/efreet/efreetd_cache.c
+++ b/src/bin/efreet/efreetd_cache.c
@@ -534,7 +534,7 @@ icon_changes_listen_recursive(Eina_Inarray *stack, const char *path, Eina_Bool b
if (stat(path, &st) == -1) return;
if (eina_inarray_search(stack, &st, stat_cmp) >= 0) return;
- if (!_check_recurse_monitor_sanity(stack, path, 8)) return;
+ if (!_check_recurse_monitor_sanity(stack, path, 10)) return;
eina_inarray_push(stack, &st);
if ((!S_ISDIR(st.st_mode)) && (base))
@@ -573,7 +573,7 @@ desktop_changes_listen_recursive(Eina_Inarray *stack, const char *path, Eina_Boo
if (stat(path, &st) == -1) return;
if (eina_inarray_search(stack, &st, stat_cmp) >= 0) return;
- if (!_check_recurse_monitor_sanity(stack, path, 3)) return;
+ if (!_check_recurse_monitor_sanity(stack, path, 10)) return;
eina_inarray_push(stack, &st);
if ((!S_ISDIR(st.st_mode)) && (base))