@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.
static void
read_lists(void)
{
- fill_list("extra_desktops.dirs", &desktop_extra_dirs);
+// dont use extra dirs as the only way to get extra dirs is by loading a
+// specific desktop file at a specific path, and this is wrong
+// fill_list("extra_desktops.dirs", &desktop_extra_dirs);
fill_list("extra_icons.dirs", &icon_extra_dirs);
fill_list("icons.exts", &icon_exts);
}
desktop = efreet_desktop_new(file);
if (!desktop) return NULL;
-
+ return desktop;
+ // 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.
+#if 0
/* If we didn't find this file in the eet cache, add path to search path */
if (!desktop->eet)
{
}
}
return desktop;
+#endif
}
EAPI int