summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2005-12-27 16:40:47 +0000
committerElijah Newren <newren@src.gnome.org>2005-12-27 16:40:47 +0000
commit5e9f20e94cf439b916910ad24b8c7681675ca0bf (patch)
tree7ffb9b069c7119895b97fe8133fa1b8682f92564
parenta710235e863789cd2aded6c6da33c3b6fb048ca9 (diff)
downloadmetacity-5e9f20e94cf439b916910ad24b8c7681675ca0bf.tar.gz
since the title is going to be treated as markup, escape it. Fixes
2005-12-27 Elijah Newren <newren@gmail.com> * src/tabpopup.c (meta_ui_tab_popup_new): since the title is going to be treated as markup, escape it. Fixes #324846.
-rw-r--r--ChangeLog5
-rw-r--r--src/tabpopup.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 970099b4..416725a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-12-27 Elijah Newren <newren@gmail.com>
+
+ * src/tabpopup.c (meta_ui_tab_popup_new): since the title is going
+ to be treated as markup, escape it. Fixes #324846.
+
2005-12-25 Kang Jeong-Hee <Keizi@mail.co.kr>
* po/ko.po: Updated Korean translation.
diff --git a/src/tabpopup.c b/src/tabpopup.c
index f71e65de..65b1568a 100644
--- a/src/tabpopup.c
+++ b/src/tabpopup.c
@@ -208,11 +208,11 @@ meta_ui_tab_popup_new (const MetaTabEntry *entries,
gchar *tmp;
if (entries[i].hidden)
{
- tmp = g_strdup_printf ("[%s]", entries[i].title);
+ tmp = g_markup_printf_escaped ("[%s]", entries[i].title);
}
else
{
- tmp = g_strdup (entries[i].title);
+ tmp = g_markup_printf_escaped ("%s", entries[i].title);
}
if (entries[i].demands_attention)