Use the e fileman favorites as the root directory for now until I decide how I wan't to implement Ephoto's own virtual

directory. e's fileman favorites are stored in $HOME/.e/e/fileman/favorites ... you can add a directory to your favorites by 
symlinking it to .e/e/fileman/favorites/


SVN revision: 60002
This commit is contained in:
Stephen Houston 2011-06-06 19:17:08 +00:00
parent 3021306384
commit 4ed9b65e6a
1 changed files with 3 additions and 1 deletions

View File

@ -178,7 +178,9 @@ ephoto_window_add(const char *path)
if ((!path) || (!ecore_file_exists(path)))
{
path = ephoto->config->directory;
char p[PATH_MAX];
snprintf(p, PATH_MAX, "%s/.e/e/fileman/favorites", getenv("HOME"));
path = p;
if ((path) && (!ecore_file_exists(path))) path = NULL;
if (!path)
{