Don't include markup in app not responding dialog

We escaped the <tt> markup, making it visible in the ui.
This commit is contained in:
Alexander Larsson 2012-08-28 16:41:29 +02:00
parent 935e820a1d
commit c3a6de749b

View File

@ -110,8 +110,8 @@ delete_ping_timeout_func (MetaDisplay *display,
if (window_title) if (window_title)
{ {
gchar *bold; gchar *bold;
bold = g_strconcat ("<tt>", window_title, "</tt>", NULL); bold = g_markup_printf_escaped ("<tt>%s</tt>", window_title);
tmp = g_markup_printf_escaped (_("%s is not responding."), bold); tmp = g_strdup_printf (_("%s is not responding."), bold);
g_free (bold); g_free (bold);
} }
else else