summary refs log tree commit diff stats
path: root/src/fe-gtk
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-gtk')
-rw-r--r--src/fe-gtk/urlgrab.c5
1 files changed, 4 insertions, 1 deletions
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