[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r7561 - gnunet-gtk/src/plugins/fs
From: |
gnunet |
Subject: |
[GNUnet-SVN] r7561 - gnunet-gtk/src/plugins/fs |
Date: |
Fri, 15 Aug 2008 04:31:46 -0600 (MDT) |
Author: grothoff
Date: 2008-08-15 04:31:46 -0600 (Fri, 15 Aug 2008)
New Revision: 7561
Modified:
gnunet-gtk/src/plugins/fs/download.c
Log:
fixing 1401
Modified: gnunet-gtk/src/plugins/fs/download.c
===================================================================
--- gnunet-gtk/src/plugins/fs/download.c 2008-08-14 20:52:59 UTC (rev
7560)
+++ gnunet-gtk/src/plugins/fs/download.c 2008-08-15 10:31:46 UTC (rev
7561)
@@ -420,6 +420,8 @@
refreshDirectoryViewFromDisk (downloadContext);
}
+
+
/**
* A download has been stopped. Remove from summary
* and free associated resources.
@@ -428,6 +430,7 @@
fs_download_stopped (DownloadList * list)
{
GtkTreeIter iter;
+ GtkTreeIter citer;
GtkTreePath *path;
DownloadList *prev;
GtkTreeModel *model;
@@ -476,6 +479,15 @@
SEARCH_STATUS_LOGO,
getStatusLogo
(GNUNET_URITRACK_DOWNLOAD_ABORTED), -1);
+ if (gtk_tree_model_iter_children (model, &citer, &iter))
+ {
+ do
+ {
+ gtk_tree_store_set (list->searchList->tree,
+ &citer, SEARCH_INTERNAL_PARENT, NULL, -1);
+ }
+ while (gtk_tree_model_iter_next (model, &citer));
+ }
}
}
if (list->searchViewRowReference != NULL)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r7561 - gnunet-gtk/src/plugins/fs,
gnunet <=