diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-17 21:11:02 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-17 21:11:02 +0800 |
commit | 261d7fcb4b47e3e2c8f62d2c5c7a8c297e320203 (patch) | |
tree | f0b01472699241284e3cf09887cad5d4e8c8a8dc /libempathy-gtk/empathy-accounts-dialog.c | |
parent | 50d0c4d95f0ba238040961776b2c6600fb94d835 (diff) | |
download | gsoc2013-empathy-261d7fcb4b47e3e2c8f62d2c5c7a8c297e320203.tar gsoc2013-empathy-261d7fcb4b47e3e2c8f62d2c5c7a8c297e320203.tar.gz gsoc2013-empathy-261d7fcb4b47e3e2c8f62d2c5c7a8c297e320203.tar.bz2 gsoc2013-empathy-261d7fcb4b47e3e2c8f62d2c5c7a8c297e320203.tar.lz gsoc2013-empathy-261d7fcb4b47e3e2c8f62d2c5c7a8c297e320203.tar.xz gsoc2013-empathy-261d7fcb4b47e3e2c8f62d2c5c7a8c297e320203.tar.zst gsoc2013-empathy-261d7fcb4b47e3e2c8f62d2c5c7a8c297e320203.zip |
Escape text in strings using Pango markup. Fixes bug #528529 (Frederic Peters).
svn path=/trunk/; revision=959
Diffstat (limited to 'libempathy-gtk/empathy-accounts-dialog.c')
-rw-r--r-- | libempathy-gtk/empathy-accounts-dialog.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-accounts-dialog.c b/libempathy-gtk/empathy-accounts-dialog.c index be0f67a8e..b57766521 100644 --- a/libempathy-gtk/empathy-accounts-dialog.c +++ b/libempathy-gtk/empathy-accounts-dialog.c @@ -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); } |