hamster-applet r866 - branches/gnome-2-26/hamster



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]