[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r30154 - gnunet-gtk/src/fs
From: |
gnunet |
Subject: |
[GNUnet-SVN] r30154 - gnunet-gtk/src/fs |
Date: |
Fri, 11 Oct 2013 16:59:44 +0200 |
Author: grothoff
Date: 2013-10-11 16:59:44 +0200 (Fri, 11 Oct 2013)
New Revision: 30154
Modified:
gnunet-gtk/src/fs/gnunet-fs-gtk_event-handler.c
Log:
fixing #2230: show gradual progress while publishing directories
Modified: gnunet-gtk/src/fs/gnunet-fs-gtk_event-handler.c
===================================================================
--- gnunet-gtk/src/fs/gnunet-fs-gtk_event-handler.c 2013-10-11 14:53:38 UTC
(rev 30153)
+++ gnunet-gtk/src/fs/gnunet-fs-gtk_event-handler.c 2013-10-11 14:59:44 UTC
(rev 30154)
@@ -648,7 +648,7 @@
* Tab where the search list popup was created.
*/
struct SearchTab *tab;
-
+
/**
* Row where the search list popup was created.
*/
@@ -1135,7 +1135,7 @@
ctx->counter++;
uris = GNUNET_FS_uri_to_string (uri);
GNUNET_asprintf (&label,
- _("URI #%d: %s"),
+ _("URI #%d: %s"),
ctx->counter,
uris);
GNUNET_free (uris);
@@ -3118,7 +3118,7 @@
SEARCH_TAB_MC_SEARCH_RESULT, &de->sr,
-1);
if (GNUNET_YES == GNUNET_FS_uri_test_equal (de->uri,
- uri))
+ uri))
break;
de->sr = NULL;
}
@@ -3534,7 +3534,7 @@
* Tab where the publish list popup was created.
*/
struct PublishTab *tab;
-
+
/**
* Row where the publish list popup was created.
*/
@@ -3807,6 +3807,11 @@
info->value.publish.size,
info->value.publish.completed);
return info->value.publish.cctx;
+ case GNUNET_FS_STATUS_PUBLISH_PROGRESS_DIRECTORY:
+ mark_publish_progress (info->value.publish.cctx,
+
info->value.publish.specifics.progress_directory.total,
+
info->value.publish.specifics.progress_directory.completed);
+ return info->value.publish.cctx;
case GNUNET_FS_STATUS_PUBLISH_ERROR:
handle_publish_error (info->value.publish.cctx,
info->value.publish.specifics.error.message);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r30154 - gnunet-gtk/src/fs,
gnunet <=