From 91020b05a3107e4ae51d7aa33dc0bebe5b668e6d Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 23 Apr 2010 11:20:50 +0200 Subject: Bug #360461 - Avoid markup in translatable messages --- plugins/webdav-account-setup/webdav-contacts-source.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'plugins/webdav-account-setup/webdav-contacts-source.c') diff --git a/plugins/webdav-account-setup/webdav-contacts-source.c b/plugins/webdav-account-setup/webdav-contacts-source.c index 9f35d0bd54..8d822e6c9e 100644 --- a/plugins/webdav-account-setup/webdav-contacts-source.c +++ b/plugins/webdav-account-setup/webdav-contacts-source.c @@ -212,6 +212,7 @@ plugin_webdav_contacts(EPlugin *epl, EConfigHookItemFactoryData *data) GtkWidget *label; ui_data *uidata; + gchar *buff; source = t->source; @@ -232,7 +233,9 @@ plugin_webdav_contacts(EPlugin *epl, EConfigHookItemFactoryData *data) gtk_box_pack_start(GTK_BOX(vbox), vbox2, FALSE, FALSE, 0); section = gtk_label_new(NULL); - gtk_label_set_markup(GTK_LABEL(section), _("Server")); + buff = g_strconcat ("", _("Server"), "", NULL); + gtk_label_set_markup(GTK_LABEL(section), buff); + g_free (buff); gtk_misc_set_alignment(GTK_MISC(section), 0.0, 0.0); gtk_box_pack_start(GTK_BOX(vbox2), section, FALSE, FALSE, 0); -- cgit v1.2.3