hamster-applet r866 - branches/gnome-2-26/hamster
- From: tbaugis svn gnome org
- To: svn-commits-list gnome org
- Subject: hamster-applet r866 - branches/gnome-2-26/hamster
- Date: Mon, 16 Mar 2009 17:34:12 +0000 (UTC)
Author: tbaugis
Date: Mon Mar 16 17:34:12 2009
New Revision: 866
URL: http://svn.gnome.org/viewvc/hamster-applet?rev=866&view=rev
Log:
Fix Python 2.6 sqlite unicode issues on python side
by using gettext.install and specifying unicode=true
Approvals by Vincent Untz and Andre Klapper
Modified:
branches/gnome-2-26/hamster/__init__.py
Modified: branches/gnome-2-26/hamster/__init__.py
==============================================================================
--- branches/gnome-2-26/hamster/__init__.py (original)
+++ branches/gnome-2-26/hamster/__init__.py Mon Mar 16 17:34:12 2009
@@ -34,8 +34,7 @@
from dispatcher import Dispatcher
# Init i18n
-import __builtin__
-__builtin__._ = gettext.gettext
+gettext.install("hamster-applet", unicode = True)
# Allow to use not installed hamster
UNINSTALLED_HAMSTER = False
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]