[mutter] Don't include markup in app not responding dialog
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] Don't include markup in app not responding dialog
- Date: Tue, 28 Aug 2012 14:43:02 +0000 (UTC)
commit c3a6de749b5e672082fed3cc3c36baab72fd4ded
Author: Alexander Larsson <alexl redhat com>
Date: Tue Aug 28 16:41:29 2012 +0200
Don't include markup in app not responding dialog
We escaped the <tt> markup, making it visible in the ui.
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 5f3f674..b9c27db 100644
--- a/src/core/delete.c
+++ b/src/core/delete.c
@@ -110,8 +110,8 @@ delete_ping_timeout_func (MetaDisplay *display,
if (window_title)
{
gchar *bold;
- bold = g_strconcat ("<tt>", window_title, "</tt>", NULL);
- tmp = g_markup_printf_escaped (_("%s is not responding."), bold);
+ bold = g_markup_printf_escaped ("<tt>%s</tt>", window_title);
+ tmp = g_strdup_printf (_("%s is not responding."), bold);
g_free (bold);
}
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]