diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-09-28 01:04:53 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-09-28 01:04:53 +0200 |
commit | a07011007f0e07ea5db523a85485a398625b28e7 (patch) | |
tree | fcb6113d9683773032b2dd35e57a91a8dedf13f1 /src/fe-gtk | |
parent | 2f237427ee0cd58811df707d0d9fa16f18a02e17 (diff) |
Save URL lists in config dir by default
Diffstat (limited to 'src/fe-gtk')
-rw-r--r-- | src/fe-gtk/urlgrab.c | 5 |
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 |