diff src/remote.c @ 1145:3a7af6a8cd5f

Use functions to return directories instead of constants. Following functions were added: get_collections_dir() get_metadata_cache_dir() get_rc_dir() get_thumbnails_cache_dir() get_trash_dir() They return the full directory path.
author zas_
date Sat, 15 Nov 2008 17:30:45 +0000
parents 5fe3b8b3a612
children 8b89e3ff286b
line wrap: on
line diff
--- a/src/remote.c	Sat Nov 15 10:35:43 2008 +0000
+++ b/src/remote.c	Sat Nov 15 17:30:45 2008 +0000
@@ -701,7 +701,7 @@
 	gint started = FALSE;
 	gchar *buf;
 
-	buf = g_build_filename(homedir(), GQ_RC_DIR, ".command", NULL);
+	buf = g_build_filename(get_rc_dir(), ".command", NULL);
 	rc = remote_client_open(buf);
 	if (!rc)
 		{