From a07011007f0e07ea5db523a85485a398625b28e7 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Fri, 28 Sep 2012 01:04:53 +0200 Subject: [PATCH] Save URL lists in config dir by default --- src/fe-gtk/urlgrab.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/fe-gtk/urlgrab.c b/src/fe-gtk/urlgrab.c index 9ab238cf..159b4510 100644 --- a/src/fe-gtk/urlgrab.c +++ b/src/fe-gtk/urlgrab.c @@ -144,8 +144,11 @@ url_save_callback (void *arg1, char *file) static void url_button_save (void) { + const char *xdir; + + xdir = get_xdir_utf8 (); gtkutil_file_req (_("Select an output filename"), - url_save_callback, NULL, NULL, NULL, FRF_WRITE); + url_save_callback, NULL, xdir, NULL, FRF_WRITE|FRF_FILTERISINITIAL); } void