From 032e2a4544e41e89c29fbb65adfa0615b57ece49 Mon Sep 17 00:00:00 2001 From: Stephen Watson Date: Mon, 25 Apr 2005 20:04:18 +0000 Subject: [PATCH] r3892: choices_list_dirs -> choices_list_xdg_dirs --- ROX-Filer/src/menu.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ROX-Filer/src/menu.c b/ROX-Filer/src/menu.c index 755cfd1d..417f70c7 100644 --- a/ROX-Filer/src/menu.c +++ b/ROX-Filer/src/menu.c @@ -1465,13 +1465,13 @@ static void customise_send_to(gpointer data) dirs = g_string_new(NULL); - path = choices_list_dirs(""); + path = choices_list_xdg_dirs("", SITE); for (i = 0; i < path->len; i++) { guchar *old = (guchar *) path->pdata[i]; g_string_append(dirs, old); - g_string_append(dirs, "SendTo\n"); + g_string_append(dirs, "/SendTo\n"); } choices_free_list(path); @@ -1512,13 +1512,13 @@ static void customise_new(gpointer data) dirs = g_string_new(NULL); - path = choices_list_dirs(""); + path = choices_list_xdg_dirs("", SITE); for (i = 0; i < path->len; i++) { guchar *old = (guchar *) path->pdata[i]; g_string_append(dirs, old); - g_string_append(dirs, "Templates\n"); + g_string_append(dirs, "/Templates\n"); } choices_free_list(path); @@ -1559,7 +1559,7 @@ static void add_sendto(GtkWidget *menu, const gchar *type, const gchar *subtype) else searchdir = g_strdup("SendTo"); - paths = choices_list_dirs(searchdir); + paths = choices_list_xdg_dirs(searchdir, SITE); g_free(searchdir); for (i = 0; i < paths->len; i++) -- 2.11.4.GIT