aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-03-07 00:00:23 +0000
committerChristian Grothoff <christian@grothoff.org>2012-03-07 00:00:23 +0000
commit85cedb64bf8c86e28e4df52a5b342274f7454599 (patch)
tree6f28caee4f1661677a44faeaf72da9404d0c8211
parentbb5311d405810df9c664efd7cb1b397026b6203e (diff)
downloadgnunet-gtk-85cedb64bf8c86e28e4df52a5b342274f7454599.tar.gz
gnunet-gtk-85cedb64bf8c86e28e4df52a5b342274f7454599.zip
-fixes
-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 ();