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.
This commit is contained in:
Elijah Newren 2005-12-27 16:40:47 +00:00 committed by Elijah Newren
parent a710235e86
commit 5e9f20e94c
2 changed files with 7 additions and 2 deletions

View File

@ -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.

View File

@ -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)