diff options
author | Christian Grothoff <christian@grothoff.org> | 2007-01-29 02:15:08 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2007-01-29 02:15:08 +0000 |
commit | 02e0f6ca81d7394d157c58d2e2d997956d58639e (patch) | |
tree | 58b2899dc23fe04029b4de49ca420fff771ac48b | |
parent | aa412d338543d552f0be0b5c0e1e1c665905ad9f (diff) | |
download | gnunet-gtk-02e0f6ca81d7394d157c58d2e2d997956d58639e.tar.gz gnunet-gtk-02e0f6ca81d7394d157c58d2e2d997956d58639e.zip |
fixing mantis 1172
-rw-r--r-- | src/plugins/fs/download.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/fs/download.c b/src/plugins/fs/download.c index 5a03b657..131ff210 100644 --- a/src/plugins/fs/download.c +++ b/src/plugins/fs/download.c | |||
@@ -847,7 +847,9 @@ clearCompletedDownloadCallback(GtkTreeModel * model, | |||
847 | iter, | 847 | iter, |
848 | DOWNLOAD_INTERNAL, &dl, | 848 | DOWNLOAD_INTERNAL, &dl, |
849 | -1); | 849 | -1); |
850 | if (dl->has_terminated) { | 850 | if ( (FALSE == gtk_tree_model_iter_has_child(model, |
851 | iter)) && | ||
852 | (dl->has_terminated) ) { | ||
851 | fcbc.method = &FSUI_stopDownload; | 853 | fcbc.method = &FSUI_stopDownload; |
852 | fcbc.argument = dl->fsui_list; | 854 | fcbc.argument = dl->fsui_list; |
853 | run_with_save_calls(&fsui_callback, | 855 | run_with_save_calls(&fsui_callback, |