diff options
author | Elijah Newren <newren@gmail.com> | 2005-12-27 16:40:47 +0000 |
---|---|---|
committer | Elijah Newren <newren@src.gnome.org> | 2005-12-27 16:40:47 +0000 |
commit | 5e9f20e94cf439b916910ad24b8c7681675ca0bf (patch) | |
tree | 7ffb9b069c7119895b97fe8133fa1b8682f92564 /src | |
parent | a710235e863789cd2aded6c6da33c3b6fb048ca9 (diff) | |
download | metacity-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.
Diffstat (limited to 'src')
-rw-r--r-- | src/tabpopup.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |