From 62979463404b455e7c656e48c1ecb5f986d9c2c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karsten=20Br=C3=A4ckelmann?= Date: Sun, 12 Feb 2006 23:15:23 +0000 Subject: Removing unnecessary markup in translateable string. svn path=/trunk/; revision=31494 --- plugins/itip-formatter/ChangeLog | 6 ++++++ plugins/itip-formatter/itip-formatter.c | 9 +++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) (limited to 'plugins/itip-formatter') diff --git a/plugins/itip-formatter/ChangeLog b/plugins/itip-formatter/ChangeLog index fc8d5903f7..317c40bd3d 100644 --- a/plugins/itip-formatter/ChangeLog +++ b/plugins/itip-formatter/ChangeLog @@ -1,3 +1,9 @@ +2006-02-12 Karsten Bräckelmann + + * itip-formatter.c (itip_formatter_page_factory): + Removing unnecessary markup in translateable string. + Fixes part of bug #272789. + 2006-02-11 Karsten Bräckelmann * itip-formatter.c (itip_formatter_page_factory): diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index 54ac321436..6b80b69e24 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -1961,6 +1961,7 @@ itip_formatter_page_factory (EPlugin *ep, EConfigHookItemFactoryData *hook_data) GtkWidget *ess; GtkWidget *scrolledwin; ESourceList *source_list; + gchar *str; /* Create a new notebook page */ page = gtk_vbox_new (FALSE, 0); @@ -1974,7 +1975,9 @@ itip_formatter_page_factory (EPlugin *ep, EConfigHookItemFactoryData *hook_data) /* "General" */ frame_label = gtk_label_new (""); - gtk_label_set_markup (GTK_LABEL (frame_label), _("General")); + str = g_strdup_printf ("%s", _("General")); + gtk_label_set_markup (GTK_LABEL (frame_label), str); + g_free (str); GTK_MISC (frame_label)->xalign = 0.0; gtk_box_pack_start (GTK_BOX (frame), frame_label, FALSE, FALSE, 0); @@ -1998,7 +2001,9 @@ itip_formatter_page_factory (EPlugin *ep, EConfigHookItemFactoryData *hook_data) gtk_box_pack_start (GTK_BOX (page), frame, TRUE, TRUE, 24); frame_label = gtk_label_new (""); - gtk_label_set_markup (GTK_LABEL (frame_label), _("Conflict Search")); + str = g_strdup_printf ("%s", _("Conflict Search")); + gtk_label_set_markup (GTK_LABEL (frame_label), str); + gfree (str); GTK_MISC (frame_label)->xalign = 0.0; gtk_box_pack_start (GTK_BOX (frame), frame_label, FALSE, FALSE, 0); -- cgit v1.2.3