passing a path along with "desktop" device to efm should allow you to navigate relative to your desktop directory. now it does
SVN revision: 74591
This commit is contained in:
parent
ddde1f3dc9
commit
52a5c2c729
|
@ -3117,14 +3117,20 @@ _e_fm2_dev_path_map(const char *dev, const char *path)
|
|||
}
|
||||
else if (strcmp(dev, "desktop") == 0)
|
||||
{
|
||||
size_t size;
|
||||
/* this is a virtual device - it's where your favorites list is
|
||||
* stored - a dir with
|
||||
.desktop files or symlinks (in fact anything
|
||||
* you like
|
||||
*/
|
||||
if (eina_strlcpy(buf, efreet_desktop_dir_get(), sizeof(buf)) >= sizeof(buf))
|
||||
return NULL;
|
||||
size = eina_strlcpy(buf, efreet_desktop_dir_get(), sizeof(buf));
|
||||
if (size >= sizeof(buf)) return NULL;
|
||||
ecore_file_mkpath(buf);
|
||||
if (path)
|
||||
{
|
||||
if (eina_strlcat(buf + size, path, sizeof(buf) - size) >= sizeof(buf) - size)
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
else if (strcmp(dev, "temp") == 0)
|
||||
PRT("/tmp");
|
||||
|
|
Loading…
Reference in New Issue