aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk-main_window_file_publish.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-fs-gtk-main_window_file_publish.c')
-rw-r--r--src/fs/gnunet-fs-gtk-main_window_file_publish.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/fs/gnunet-fs-gtk-main_window_file_publish.c b/src/fs/gnunet-fs-gtk-main_window_file_publish.c
index da5f7d0f..34e8481e 100644
--- a/src/fs/gnunet-fs-gtk-main_window_file_publish.c
+++ b/src/fs/gnunet-fs-gtk-main_window_file_publish.c
@@ -1281,12 +1281,16 @@ GNUNET_GTK_master_publish_dialog_edit_button_clicked_cb (GtkWidget * dummy,
1281 guint64 abs_etime; 1281 guint64 abs_etime;
1282 guint replication_level; 1282 guint replication_level;
1283 struct GNUNET_FS_BlockOptions bo; 1283 struct GNUNET_FS_BlockOptions bo;
1284 GtkListStore *anon_liststore;
1284 1285
1285 builder = GTK_BUILDER (data); 1286 builder = GTK_BUILDER (data);
1286 tv = GTK_TREE_VIEW (gtk_builder_get_object 1287 tv = GTK_TREE_VIEW (gtk_builder_get_object
1287 (builder, 1288 (builder,
1288 "GNUNET_GTK_master_publish_dialog_file_information_tree_view")); 1289 "GNUNET_GTK_master_publish_dialog_file_information_tree_view"));
1289 1290
1291 anon_liststore = GTK_LIST_STORE (gtk_builder_get_object (builder, "main_window_search_anonymity_liststore"));
1292
1293
1290 cbargs = GNUNET_malloc (sizeof (struct EditPublishContext)); 1294 cbargs = GNUNET_malloc (sizeof (struct EditPublishContext));
1291 cbargs->tm = gtk_tree_view_get_model (tv); 1295 cbargs->tm = gtk_tree_view_get_model (tv);
1292 master_pubdialog = 1296 master_pubdialog =
@@ -1309,9 +1313,9 @@ GNUNET_GTK_master_publish_dialog_edit_button_clicked_cb (GtkWidget * dummy,
1309 bo.content_priority = priority; 1313 bo.content_priority = priority;
1310 bo.expiration_time.abs_value = (uint64_t) abs_etime; 1314 bo.expiration_time.abs_value = (uint64_t) abs_etime;
1311 bo.replication_level = replication_level; 1315 bo.replication_level = replication_level;
1312 /* FIXME: shouldn't this use a fresh builder? */ 1316
1313 GNUNET_FS_GTK_edit_publish_dialog (builder, master_pubdialog, do_index, 1317 GNUNET_FS_GTK_edit_publish_dialog (master_pubdialog, do_index,
1314 short_fn, &bo, fip, TRUE, 1318 short_fn, bo, fip, TRUE, anon_liststore,
1315 &master_publish_edit_publish_dialog_cb, 1319 &master_publish_edit_publish_dialog_cb,
1316 cbargs); 1320 cbargs);
1317} 1321}