Fix escaping for application-not-responding dialog

We need to escape markup in the title, or a title "<i>Italic</i>"
will be displayed as italic.

https://bugzilla.gnome.org/show_bug.cgi?id=649114
This commit is contained in:
Owen W. Taylor 2011-05-02 14:58:56 -04:00
parent 40f51114b5
commit 60dd31ed48

View File

@ -99,8 +99,8 @@ delete_ping_timeout_func (MetaDisplay *display,
g_free (tmp);
/* Translators: %s is a window title */
tmp = g_strdup_printf (_("<tt>%s</tt> is not responding."),
window_title);
tmp = g_markup_printf_escaped (_("<tt>%s</tt> is not responding."),
window_title);
window_content = g_strdup_printf (
"<big><b>%s</b></big>\n\n<i>%s</i>",
tmp,