aboutsummaryrefslogtreecommitdiff
path: root/src/gns/gnunet-gns-gtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/gnunet-gns-gtk.c')
-rw-r--r--src/gns/gnunet-gns-gtk.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gns/gnunet-gns-gtk.c b/src/gns/gnunet-gns-gtk.c
index d40dbb1e..48879e9c 100644
--- a/src/gns/gnunet-gns-gtk.c
+++ b/src/gns/gnunet-gns-gtk.c
@@ -259,18 +259,18 @@ run (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
259 GNUNET_SCHEDULER_add_now (&shutdown_task, NULL); 259 GNUNET_SCHEDULER_add_now (&shutdown_task, NULL);
260 return; 260 return;
261 } 261 }
262 zone_as_string = GNUNET_strdup (GNUNET_h2s_full (&zone));
263 GNUNET_asprintf (&label,
264 "<b>%s</b>",
265 zone_as_string);
266 gtk_label_set_text (GTK_LABEL (get_object ("GNUNET_GNS_GTK_zone_label")),
267 label);
268 GNUNET_free (label);
269 if (GNUNET_OK != GNUNET_GTK_main_loop_build_window (ml, NULL)) 262 if (GNUNET_OK != GNUNET_GTK_main_loop_build_window (ml, NULL))
270 { 263 {
264 GNUNET_break (0);
271 GNUNET_SCHEDULER_add_now (&shutdown_task, NULL); 265 GNUNET_SCHEDULER_add_now (&shutdown_task, NULL);
272 return; 266 return;
273 } 267 }
268 zone_as_string = GNUNET_strdup (GNUNET_h2s_full (&zone));
269 label = g_markup_printf_escaped (_("<b>Editing zone %s</b>"),
270 zone_as_string);
271 gtk_label_set_markup (GTK_LABEL (get_object ("GNUNET_GNS_GTK_zone_label")),
272 label);
273 g_free (label);
274 274
275 GNUNET_GTK_set_icon_search_path (); 275 GNUNET_GTK_set_icon_search_path ();
276 GNUNET_GTK_setup_nls (); 276 GNUNET_GTK_setup_nls ();