diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/web-view.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/web-view.c b/src/web-view.c index 07d8d0b..34508e4 100644 --- a/src/web-view.c +++ b/src/web-view.c @@ -860,6 +860,10 @@ save_response_cb(GtkWidget *dialog, gint response_id, MqWebView *web_view) GFile *file; if (response_id == GTK_RESPONSE_ACCEPT) { + mq_config_set_string(web_view->config, "directories.downloads", + gtk_file_chooser_get_current_folder( + GTK_FILE_CHOOSER(dialog))); + mq_config_save(web_view->config); filename = gtk_file_chooser_get_filename( GTK_FILE_CHOOSER(dialog)); file = g_file_new_for_path(filename); |