From 4ed9b65e6ac4454a22da44bcf2ad9c34932e632f Mon Sep 17 00:00:00 2001 From: Stephen Houston Date: Mon, 6 Jun 2011 19:17:08 +0000 Subject: [PATCH] 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 --- src/bin/ephoto_main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bin/ephoto_main.c b/src/bin/ephoto_main.c index 3a7d5b9..f4a44d7 100644 --- a/src/bin/ephoto_main.c +++ b/src/bin/ephoto_main.c @@ -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) {