Author: reinhard
Date: 2005-08-09 12:27:24 -0500 (Tue, 09 Aug 2005)
New Revision: 7807

Modified:
   trunk/gnue-forms/src/uidrivers/curses/dialogs.py
Log:
Fixed unicode problem in dialogs.


Modified: trunk/gnue-forms/src/uidrivers/curses/dialogs.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/curses/dialogs.py    2005-08-09 17:21:10 UTC 
(rev 7806)
+++ trunk/gnue-forms/src/uidrivers/curses/dialogs.py    2005-08-09 17:27:24 UTC 
(rev 7807)
@@ -72,7 +72,7 @@
 
     self.__dwidth = width - 4
     self.__window.bkgd (' ', self.__normal)
-    self.__window.addstr (1, 2, title.center (self.__dwidth))
+    self.__window.addstr (1, 2, o(title.center (self.__dwidth)))
     self.__window.hline (2, 1, curses.ACS_HLINE, width - 2)
 
     self.__offset = 0
@@ -314,7 +314,7 @@
     self.__window.box ()
     self.__window.keypad (1)
 
-    self.__window.addstr (1, 1, title.center (self.__width - 2))
+    self.__window.addstr (1, 1, o(title.center (self.__width - 2)))
 
     self.__leftcol  = leftcol
     self.__rightcol = rightcol



_______________________________________________
Commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue

Reply via email to