[mutter] Fix escaping for application-not-responding dialog



commit 60dd31ed48a53a462987dfd25f7b8a83ceeba964
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Mon May 2 14:58:56 2011 -0400

    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

 src/core/delete.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/core/delete.c b/src/core/delete.c
index c6a408e..030f045 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 (_("<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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]