aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/download.c4
-rw-r--r--src/download.h3
-rw-r--r--src/fs_event_handler.c4
3 files changed, 4 insertions, 7 deletions
diff --git a/src/download.c b/src/download.c
index 73a3146c..de63c40f 100644
--- a/src/download.c
+++ b/src/download.c
@@ -103,7 +103,7 @@ GNUNET_GTK_open_download_as_dialog (struct DownloadContext *dc)
103 GNUNET_break (NULL != 103 GNUNET_break (NULL !=
104 GNUNET_FS_download_start (fs, 104 GNUNET_FS_download_start (fs,
105 dc->uri, 105 dc->uri,
106 NULL, 106 NULL /* meta */,
107 dc->filename, 107 dc->filename,
108 NULL /* tempname */, 108 NULL /* tempname */,
109 0 /* offset */, 109 0 /* offset */,
@@ -111,7 +111,7 @@ GNUNET_GTK_open_download_as_dialog (struct DownloadContext *dc)
111 anonymity, 111 anonymity,
112 opt, 112 opt,
113 dc, 113 dc,
114 NULL)); 114 NULL /* parent download ctx */));
115 115
116} 116}
117 117
diff --git a/src/download.h b/src/download.h
index 595d5c60..378bed01 100644
--- a/src/download.h
+++ b/src/download.h
@@ -49,7 +49,8 @@ struct DownloadContext
49 char *filename; 49 char *filename;
50 50
51 /** 51 /**
52 * Row reference (if URI was found by search, otherwise NULL). 52 * Row reference (if URI was found by search, or
53 * part of directory, etc.); otherwise NULL (download by URI).
53 */ 54 */
54 GtkTreeRowReference *rr; 55 GtkTreeRowReference *rr;
55 56
diff --git a/src/fs_event_handler.c b/src/fs_event_handler.c
index ddf79ed2..6a8da393 100644
--- a/src/fs_event_handler.c
+++ b/src/fs_event_handler.c
@@ -231,10 +231,6 @@ mark_publish_progress (struct PublishEntry *pe,
231 gtk_tree_path_free (path); 231 gtk_tree_path_free (path);
232 return pe; 232 return pe;
233 } 233 }
234#if 0
235 gtk_tree_selection_select_iter (gtk_tree_view_get_selection (pe->tab->tv),
236 &iter);
237#endif
238 gtk_tree_path_free (path); 234 gtk_tree_path_free (path);
239 gtk_tree_store_set (pe->tab->ts, &iter, 235 gtk_tree_store_set (pe->tab->ts, &iter,
240 3, (guint) ((size > 0) ? (100 * completed / size) : 100) /* progress */, 236 3, (guint) ((size > 0) ? (100 * completed / size) : 100) /* progress */,