aboutsummaryrefslogtreecommitdiff
path: root/src/download.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/download.c')
-rw-r--r--src/download.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/download.c b/src/download.c
index d830ad9d..d6f70bf7 100644
--- a/src/download.c
+++ b/src/download.c
@@ -66,10 +66,8 @@ GNUNET_GTK_open_download_as_dialog (struct DownloadContext *dc)
66 strcat (buf, DIR_SEPARATOR_STR); 66 strcat (buf, DIR_SEPARATOR_STR);
67 strcat (buf, dc->filename); 67 strcat (buf, dc->filename);
68 } 68 }
69 /* sadly, this does not quite work in current GTK, GTK just 69 gtk_file_chooser_set_current_name (GTK_FILE_CHOOSER (ad),
70 ignores the filename if the file does not yet exist */ 70 buf);
71 gtk_file_chooser_set_filename (GTK_FILE_CHOOSER (ad),
72 buf);
73 } 71 }
74 } 72 }
75 if (GTK_RESPONSE_OK != gtk_dialog_run (GTK_DIALOG (ad))) 73 if (GTK_RESPONSE_OK != gtk_dialog_run (GTK_DIALOG (ad)))