forked from enlightenment/enlightenment
only create desktop paths when actually desktop directories
SVN revision: 74735
This commit is contained in:
parent
06b18f44c8
commit
b8cdf23f62
|
@ -3090,14 +3090,18 @@ _e_fm2_dev_path_map(const char *dev, const char *path)
|
|||
* you like
|
||||
*/
|
||||
if ((!path) || (!path[0]) || (!strcmp(path, "/")))
|
||||
{
|
||||
snprintf(buf, sizeof(buf), "%s", efreet_desktop_dir_get());
|
||||
ecore_file_mkpath(buf);
|
||||
}
|
||||
else if (path[0] == '/')
|
||||
snprintf(buf, sizeof(buf), "%s/%s", efreet_desktop_dir_get(), path);
|
||||
else
|
||||
snprintf(buf, sizeof(buf), "%s-%s",
|
||||
efreet_desktop_dir_get(), path);
|
||||
{
|
||||
snprintf(buf, sizeof(buf), "%s-%s", efreet_desktop_dir_get(), path);
|
||||
ecore_file_mkpath(buf);
|
||||
}
|
||||
}
|
||||
else if (strcmp(dev, "temp") == 0)
|
||||
PRT("/tmp");
|
||||
/* FIXME: replace all this removable, dvd and like with hal */
|
||||
|
|
Loading…
Reference in New Issue