aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk-main_window_adv_pseudonym.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-fs-gtk-main_window_adv_pseudonym.c')
-rw-r--r--src/fs/gnunet-fs-gtk-main_window_adv_pseudonym.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/fs/gnunet-fs-gtk-main_window_adv_pseudonym.c b/src/fs/gnunet-fs-gtk-main_window_adv_pseudonym.c
index 38a98a31..50fdf4d1 100644
--- a/src/fs/gnunet-fs-gtk-main_window_adv_pseudonym.c
+++ b/src/fs/gnunet-fs-gtk-main_window_adv_pseudonym.c
@@ -150,6 +150,7 @@ GNUNET_GTK_select_pseudonym_dialog_response_cb (GtkDialog * dialog,
150 struct GNUNET_FS_Namespace *ns; 150 struct GNUNET_FS_Namespace *ns;
151 struct GNUNET_FS_Namespace *nso; 151 struct GNUNET_FS_Namespace *nso;
152 GtkWindow *transient; 152 GtkWindow *transient;
153 GtkListStore *anon_liststore;
153 struct NamespaceAdvertisementContext *nds; 154 struct NamespaceAdvertisementContext *nds;
154 struct GNUNET_CONTAINER_MetaData *meta; 155 struct GNUNET_CONTAINER_MetaData *meta;
155 156
@@ -157,6 +158,8 @@ GNUNET_GTK_select_pseudonym_dialog_response_cb (GtkDialog * dialog,
157 ad = GTK_WIDGET (gtk_builder_get_object 158 ad = GTK_WIDGET (gtk_builder_get_object
158 (builder, "GNUNET_GTK_select_pseudonym_dialog")); 159 (builder, "GNUNET_GTK_select_pseudonym_dialog"));
159 160
161 anon_liststore = GTK_LIST_STORE (gtk_builder_get_object (builder, "main_window_search_anonymity_liststore"));
162
160 if (response_id != -5) 163 if (response_id != -5)
161 { 164 {
162 gtk_widget_hide (ad); 165 gtk_widget_hide (ad);
@@ -202,8 +205,8 @@ GNUNET_GTK_select_pseudonym_dialog_response_cb (GtkDialog * dialog,
202 GNUNET_FS_file_information_create_empty_directory (NULL, NULL, NULL, meta, 205 GNUNET_FS_file_information_create_empty_directory (NULL, NULL, NULL, meta,
203 &nds->bo); 206 &nds->bo);
204 GNUNET_CONTAINER_meta_data_destroy (meta); 207 GNUNET_CONTAINER_meta_data_destroy (meta);
205 GNUNET_FS_GTK_edit_publish_dialog (builder, transient, nds->do_index, 208 GNUNET_FS_GTK_edit_publish_dialog (transient, nds->do_index,
206 nds->short_fn, &nds->bo, nds->fip, FALSE, 209 nds->short_fn, nds->bo, nds->fip, FALSE, anon_liststore,
207 &adv_pseudonym_edit_publish_dialog_cb, 210 &adv_pseudonym_edit_publish_dialog_cb,
208 nds); 211 nds);
209} 212}