diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2015-12-02 20:29:31 +0900 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2015-12-02 20:53:27 +0900 |
commit | 5263e61585dcc90264790565efb8bcdfcfbf0a13 (patch) | |
tree | f2e8e0f509e5ebc0317e06d10de3e448809471a7 /src/lib/efreet/efreet_desktop.c | |
parent | a7a2781a00ca6557aef6490bc0159cb426441b28 (diff) |
efreet desktop tracking - fix monitoring of dirs of custom desktops
@fix
this is wrong - start monitoring every/any dir in which a desktop file
exists that we load a desktop file from. imagine you browse directories
in efm with lots of desktop files in them - we end up monitoring lots
of directories that we then rememebr and don't un-monitor. this
disables monitoring of dirs from which we load a .desktop file from to
fix this.
Diffstat (limited to '')
-rw-r--r-- | src/lib/efreet/efreet_desktop.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/efreet/efreet_desktop.c b/src/lib/efreet/efreet_desktop.c index 3de19be370..a49a975776 100644 --- a/src/lib/efreet/efreet_desktop.c +++ b/src/lib/efreet/efreet_desktop.c | |||
@@ -154,7 +154,12 @@ efreet_desktop_get(const char *file) | |||
154 | 154 | ||
155 | desktop = efreet_desktop_new(file); | 155 | desktop = efreet_desktop_new(file); |
156 | if (!desktop) return NULL; | 156 | if (!desktop) return NULL; |
157 | 157 | return desktop; | |
158 | // this is wrong - start monitoring every/any dir in which a desktop file | ||
159 | // exists that we load a desktop file from. imagine you browse directories | ||
160 | // in efm with lots of desktop files in them - we end up monitoring lots | ||
161 | // of directories that we then rememebr and don't un-monitor. | ||
162 | #if 0 | ||
158 | /* If we didn't find this file in the eet cache, add path to search path */ | 163 | /* If we didn't find this file in the eet cache, add path to search path */ |
159 | if (!desktop->eet) | 164 | if (!desktop->eet) |
160 | { | 165 | { |
@@ -185,6 +190,7 @@ efreet_desktop_get(const char *file) | |||
185 | } | 190 | } |
186 | } | 191 | } |
187 | return desktop; | 192 | return desktop; |
193 | #endif | ||
188 | } | 194 | } |
189 | 195 | ||
190 | EAPI int | 196 | EAPI int |