recursive monitoring and scanning fix for icons and desktop files
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Wed, 27 Nov 2013 10:45:29 +0000 (19:45 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Wed, 27 Nov 2013 10:50:24 +0000 (19:50 +0900)
commitc69cf487463ccec7cf572220c7c0b9353f6e7db9
tree7067f326ffca48a6ccab980c2523c0ede621b7d7
parent1e70d703b329499982f484ce4f7a1227fb57919d
recursive monitoring and scanning fix for icons and desktop files

this fixes T580 ... or SHOULD fix it. there is recursion detection
code now and it properly follows symlinks and dirs. it also properly
updates the file monitor tree for both icons and desktops and it only
monitors dirs, not files (as a dir picks up changes to child data).
tested and it seems not to recurse into self-referencing symlinks
(once it detects the loop) and detects changes nicely in all my tests.
src/bin/efreet/efreet_desktop_cache_create.c
src/bin/efreet/efreet_icon_cache_create.c
src/bin/efreet/efreetd_cache.c