aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/webdav-account-setup/webdav-contacts-source.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-04-23 17:20:50 +0800
committerMilan Crha <mcrha@redhat.com>2010-04-23 17:20:50 +0800
commit91020b05a3107e4ae51d7aa33dc0bebe5b668e6d (patch)
treee3b2445f54a7d74e5ff00ebbd8ecfa70235ed016 /plugins/webdav-account-setup/webdav-contacts-source.c
parentedf6286a38279e6db82dee4da50e94c587f06e02 (diff)
downloadgsoc2013-evolution-91020b05a3107e4ae51d7aa33dc0bebe5b668e6d.tar.gz
gsoc2013-evolution-91020b05a3107e4ae51d7aa33dc0bebe5b668e6d.tar.zst
gsoc2013-evolution-91020b05a3107e4ae51d7aa33dc0bebe5b668e6d.zip
Bug #360461 - Avoid markup in translatable messages
Diffstat (limited to 'plugins/webdav-account-setup/webdav-contacts-source.c')
-rw-r--r--plugins/webdav-account-setup/webdav-contacts-source.c5
1 files changed, 4 insertions, 1 deletions
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), _("<b>Server</b>"));
+ buff = g_strconcat ("<b>", _("Server"), "</b>", 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);