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:
parent
3021306384
commit
4ed9b65e6a
|
@ -178,7 +178,9 @@ ephoto_window_add(const char *path)
|
||||||
|
|
||||||
if ((!path) || (!ecore_file_exists(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) && (!ecore_file_exists(path))) path = NULL;
|
||||||
if (!path)
|
if (!path)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue