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/bbdb/ChangeLog | 6 ++++++ plugins/bbdb/bbdb.c | 9 +++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) (limited to 'plugins/bbdb') diff --git a/plugins/bbdb/ChangeLog b/plugins/bbdb/ChangeLog index 69452e06dd..123fb6c25b 100644 --- a/plugins/bbdb/ChangeLog +++ b/plugins/bbdb/ChangeLog @@ -1,3 +1,9 @@ +2006-02-12 Karsten Bräckelmann + + * bbdb.c (bbdb_page_factory): + Removing unnecessary markup in translateable string. + Fixes part of bug #272789. + 2006-01-23 Devashish Sharma * bbdb.c : diff --git a/plugins/bbdb/bbdb.c b/plugins/bbdb/bbdb.c index 4eea3fb3fb..3c9cca5e2a 100644 --- a/plugins/bbdb/bbdb.c +++ b/plugins/bbdb/bbdb.c @@ -418,6 +418,7 @@ bbdb_page_factory (EPlugin *ep, EConfigHookItemFactoryData *hook_data) GtkWidget *label; GtkWidget *gaim_label; GtkWidget *button; + gchar *str; /* A structure to pass some stuff around */ stuff = g_new0 (struct bbdb_stuff, 1); @@ -435,7 +436,9 @@ bbdb_page_factory (EPlugin *ep, EConfigHookItemFactoryData *hook_data) /* "Automatic Contacts" */ frame_label = gtk_label_new (""); - gtk_label_set_markup (GTK_LABEL (frame_label), _("Automatic Contacts")); + str = g_strdup_printf ("%s", _("Automatic Contacts")); + 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); @@ -469,7 +472,9 @@ bbdb_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), _("Instant Messaging Contacts")); + str = g_strdup_printf ("%s", _("Instant Messaging Contacts")); + 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