From 60dd31ed48a53a462987dfd25f7b8a83ceeba964 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Mon, 2 May 2011 14:58:56 -0400 Subject: [PATCH] Fix escaping for application-not-responding dialog We need to escape markup in the title, or a title "Italic" will be displayed as italic. https://bugzilla.gnome.org/show_bug.cgi?id=649114 --- src/core/delete.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/delete.c b/src/core/delete.c index c6a408e59..030f04563 100644 --- a/src/core/delete.c +++ b/src/core/delete.c @@ -99,8 +99,8 @@ delete_ping_timeout_func (MetaDisplay *display, g_free (tmp); /* Translators: %s is a window title */ - tmp = g_strdup_printf (_("%s is not responding."), - window_title); + tmp = g_markup_printf_escaped (_("%s is not responding."), + window_title); window_content = g_strdup_printf ( "%s\n\n%s", tmp,