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, 2 insertions, 1 deletions
diff --git a/src/fs/gnunet-fs-gtk_event-handler.c b/src/fs/gnunet-fs-gtk_event-handler.c
index 32fc4e88..b711ee90 100644
--- a/src/fs/gnunet-fs-gtk_event-handler.c
+++ b/src/fs/gnunet-fs-gtk_event-handler.c
@@ -673,7 +673,8 @@ search_list_popup (GtkTreeModel *tm,
673 gtk_widget_show (child); 673 gtk_widget_show (child);
674 gtk_menu_shell_append (GTK_MENU_SHELL (menu), child); 674 gtk_menu_shell_append (GTK_MENU_SHELL (menu), child);
675 } 675 }
676 if (NULL != sr->download) 676 if ( (NULL != sr->download) &&
677 (GNUNET_YES != sr->download->is_done) )
677 { 678 {
678 child = gtk_menu_item_new_with_label (_("_Abort download")); 679 child = gtk_menu_item_new_with_label (_("_Abort download"));
679 g_signal_connect (child, "activate", 680 g_signal_connect (child, "activate",