diff options
Diffstat (limited to 'src/plugins/fs/download.c')
-rw-r--r-- | src/plugins/fs/download.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/plugins/fs/download.c b/src/plugins/fs/download.c index 18f2e310..0ec03555 100644 --- a/src/plugins/fs/download.c +++ b/src/plugins/fs/download.c | |||
@@ -420,6 +420,8 @@ fs_download_aborted (DownloadList * downloadContext) | |||
420 | refreshDirectoryViewFromDisk (downloadContext); | 420 | refreshDirectoryViewFromDisk (downloadContext); |
421 | } | 421 | } |
422 | 422 | ||
423 | |||
424 | |||
423 | /** | 425 | /** |
424 | * A download has been stopped. Remove from summary | 426 | * A download has been stopped. Remove from summary |
425 | * and free associated resources. | 427 | * and free associated resources. |
@@ -428,6 +430,7 @@ void | |||
428 | fs_download_stopped (DownloadList * list) | 430 | fs_download_stopped (DownloadList * list) |
429 | { | 431 | { |
430 | GtkTreeIter iter; | 432 | GtkTreeIter iter; |
433 | GtkTreeIter citer; | ||
431 | GtkTreePath *path; | 434 | GtkTreePath *path; |
432 | DownloadList *prev; | 435 | DownloadList *prev; |
433 | GtkTreeModel *model; | 436 | GtkTreeModel *model; |
@@ -476,6 +479,15 @@ fs_download_stopped (DownloadList * list) | |||
476 | SEARCH_STATUS_LOGO, | 479 | SEARCH_STATUS_LOGO, |
477 | getStatusLogo | 480 | getStatusLogo |
478 | (GNUNET_URITRACK_DOWNLOAD_ABORTED), -1); | 481 | (GNUNET_URITRACK_DOWNLOAD_ABORTED), -1); |
482 | if (gtk_tree_model_iter_children (model, &citer, &iter)) | ||
483 | { | ||
484 | do | ||
485 | { | ||
486 | gtk_tree_store_set (list->searchList->tree, | ||
487 | &citer, SEARCH_INTERNAL_PARENT, NULL, -1); | ||
488 | } | ||
489 | while (gtk_tree_model_iter_next (model, &citer)); | ||
490 | } | ||
479 | } | 491 | } |
480 | } | 492 | } |
481 | if (list->searchViewRowReference != NULL) | 493 | if (list->searchViewRowReference != NULL) |