Save files which are opened immediately to the temporary folder
This commit is contained in:
parent
b083c5bbd0
commit
d14b65563a
1 changed files with 4 additions and 1 deletions
|
@ -1011,6 +1011,9 @@ midori_view_download_requested_cb (GtkWidget* view,
|
|||
gchar* filename;
|
||||
gchar* uri;
|
||||
|
||||
if (g_object_get_data (G_OBJECT (download), "open-download"))
|
||||
folder = g_strdup (g_get_tmp_dir ());
|
||||
else
|
||||
folder = katze_object_get_string (browser->settings, "download-folder");
|
||||
filename = g_build_filename (folder,
|
||||
webkit_download_get_suggested_filename (download), NULL);
|
||||
|
|
Loading…
Reference in a new issue