Fix category headers not appearing properly in the treeview when using a

2008-03-31  Bastien Nocera  <hadess@hadess.net>

        * gnome-keybinding-properties.c (append_keys_to_tree_from_file):
	Fix category headers not appearing properly in the
	treeview when using a non-UTF-8 locale (Closes: #513988)


svn path=/trunk/; revision=8613
This commit is contained in:
Bastien Nocera 2008-03-31 12:20:14 +00:00 committed by Bastien Nocera
parent 4793494b59
commit e80c1a853b
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2008-03-31 Bastien Nocera <hadess@hadess.net>
* gnome-keybinding-properties.c (append_keys_to_tree_from_file):
Fix category headers not appearing properly in the
treeview when using a non-UTF-8 locale (Closes: #513988)
2008-03-29 Jens Granseuer <jensgr@gmx.net>
* eggaccelerators.c: (egg_accelerator_parse_virtual): sync with

View file

@ -711,6 +711,7 @@ append_keys_to_tree_from_file (GladeXML *dialog,
keys = (KeyListEntry *) g_array_free (keylist->entries, FALSE);
if (keylist->package)
{
bind_textdomain_codeset (keylist->package, "UTF-8");
title = dgettext (keylist->package, keylist->name);
} else {
title = _(keylist->name);