[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
r6094 - trunk/gnue-forms/src/uidrivers/gtk2
From: |
johannes |
Subject: |
r6094 - trunk/gnue-forms/src/uidrivers/gtk2 |
Date: |
Wed, 28 Jul 2004 01:59:10 -0500 (CDT) |
Author: johannes
Date: 2004-07-28 01:59:09 -0500 (Wed, 28 Jul 2004)
New Revision: 6094
Modified:
trunk/gnue-forms/src/uidrivers/gtk2/UILoginHandler.py
Log:
Errortext is sent in in utf-8, not locale-encoding
Modified: trunk/gnue-forms/src/uidrivers/gtk2/UILoginHandler.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/gtk2/UILoginHandler.py 2004-07-27
22:53:04 UTC (rev 6093)
+++ trunk/gnue-forms/src/uidrivers/gtk2/UILoginHandler.py 2004-07-28
06:59:09 UTC (rev 6094)
@@ -96,7 +96,7 @@
# Add an error text if given
if error is not None:
if isinstance (error, types.StringType):
- error = unicode (error, i18n.encoding)
+ error = unicode (error, 'utf-8')
label = gtk.Label (error)
label.set_line_wrap (True)
label.modify_fg (gtk.STATE_NORMAL, gtk.gdk.color_parse ('red'))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- r6094 - trunk/gnue-forms/src/uidrivers/gtk2,
johannes <=