summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/efreet/efreet_desktop.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/lib/efreet/efreet_desktop.c b/src/lib/efreet/efreet_desktop.c
index f672ba7545..3de19be370 100644
--- a/src/lib/efreet/efreet_desktop.c
+++ b/src/lib/efreet/efreet_desktop.c
@@ -168,9 +168,22 @@ efreet_desktop_get(const char *file)
168 info->id == EFREET_DESKTOP_TYPE_LINK || 168 info->id == EFREET_DESKTOP_TYPE_LINK ||
169 info->id == EFREET_DESKTOP_TYPE_DIRECTORY 169 info->id == EFREET_DESKTOP_TYPE_DIRECTORY
170 )) 170 ))
171 {
171 efreet_cache_desktop_add(desktop); 172 efreet_cache_desktop_add(desktop);
173 /* Check Symbolic link */
174 char *sym_file;
175 Efreet_Desktop *sym_desktop;
176 sym_file = ecore_file_readlink(file);
177 if (sym_file)
178 {
179 sym_desktop = efreet_desktop_new(sym_file);
180 if (sym_desktop && !sym_desktop->eet)
181 efreet_cache_desktop_add(sym_desktop);
182 free(sym_file);
183 efreet_desktop_free(sym_desktop);
184 }
185 }
172 } 186 }
173
174 return desktop; 187 return desktop;
175} 188}
176 189