summaryrefslogtreecommitdiff
path: root/portato/gui/windows/basic.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-09-03 19:19:07 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-09-03 19:19:07 +0200
commitfb904582e841076ae9517a1526268d95fc2a9c08 (patch)
tree3aaa1e8edf69e315bb1f39fd4233c8f3afa174e8 /portato/gui/windows/basic.py
parent0dd19e11845125921ecc45d5fef644a09863e623 (diff)
downloadportato-fb904582e841076ae9517a1526268d95fc2a9c08.tar.gz
portato-fb904582e841076ae9517a1526268d95fc2a9c08.tar.bz2
portato-fb904582e841076ae9517a1526268d95fc2a9c08.zip
Fix the segfault in GLib due to wrong encoding
Diffstat (limited to 'portato/gui/windows/basic.py')
-rw-r--r--portato/gui/windows/basic.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/portato/gui/windows/basic.py b/portato/gui/windows/basic.py
index b3f210c..3cedd69 100644
--- a/portato/gui/windows/basic.py
+++ b/portato/gui/windows/basic.py
@@ -31,6 +31,7 @@ except OSError:
else:
getlib.textdomain(APP)
getlib.bindtextdomain(APP, LOCALE_DIR)
+ getlib.bind_textdomain_codeset(APP, "UTF-8")
class WrappedTree (object):
__slots__ = ("klass", "tree", "get_widget", "get_ui")