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:
parent
4793494b59
commit
e80c1a853b
2 changed files with 7 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue