]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-accounts-dialog.c
Escape text in strings using Pango markup. Fixes bug #528529 (Frederic Peters).
[empathy.git] / libempathy-gtk / empathy-accounts-dialog.c
index be0f67a8ea11ab1056106b99f9af8c12789a6eb6..b57766521ca7dfc88d0dbf9fe94ba91ee1681d1e 100644 (file)
@@ -317,7 +317,8 @@ accounts_dialog_update_account (EmpathyAccountsDialog *dialog,
                gtk_widget_set_tooltip_text (dialog->image_type,
                                             mc_profile_get_display_name (profile));
 
-               text = g_strdup_printf ("<big><b>%s</b></big>", mc_account_get_display_name (account));
+               text = g_markup_printf_escaped ("<big><b>%s</b></big>",
+                               mc_account_get_display_name (account));
                gtk_label_set_markup (GTK_LABEL (dialog->label_name), text);
                g_free (text);
        }