aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk-event_handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-fs-gtk-event_handler.c')
-rw-r--r--src/fs/gnunet-fs-gtk-event_handler.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fs/gnunet-fs-gtk-event_handler.c b/src/fs/gnunet-fs-gtk-event_handler.c
index 607e5813..8320c8bf 100644
--- a/src/fs/gnunet-fs-gtk-event_handler.c
+++ b/src/fs/gnunet-fs-gtk-event_handler.c
@@ -1023,10 +1023,9 @@ start_download (GtkTreeView * tree_view, GtkTreePath * path,
1023 dc->anonymity = anonymity; 1023 dc->anonymity = anonymity;
1024 dc->is_recursive = sdc->recursive; 1024 dc->is_recursive = sdc->recursive;
1025 dc->tab = tab; 1025 dc->tab = tab;
1026 dc->cb = &GNUNET_FS_GTK_default_open_download_as_callback;
1027 if (local_parents && have_a_suggestion) 1026 if (local_parents && have_a_suggestion)
1028 /* Skip the dialog, call directly */ 1027 /* Skip the dialog, call directly */
1029 GNUNET_FS_GTK_default_open_download_as_callback (dc); 1028 GNUNET_FS_GTK_download_context_start_download (dc);
1030 else 1029 else
1031 GNUNET_FS_GTK_open_download_as_dialog (dc); 1030 GNUNET_FS_GTK_open_download_as_dialog (dc);
1032} 1031}