changeset 199:58f96e66ec17

wix: unicode fixes in contact list
author Goffi <goffi@goffi.org>
date Fri, 20 Aug 2010 01:12:43 +0800
parents 3d7a06fe3997
children 7baee9bb37af
files frontends/wix/contact_list.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/wix/contact_list.py	Fri Aug 20 01:11:51 2010 +0800
+++ b/frontends/wix/contact_list.py	Fri Aug 20 01:12:43 2010 +0800
@@ -5,10 +5,10 @@
 from tools.jid  import JID
 
 
-class Group(str):
+class Group(unicode):
     """Class used to recognize groups"""
 
-class Contact(str):
+class Contact(unicode):
     """Class used to recognize groups"""
 
 class ContactList(wx.SimpleHtmlListBox, QuickContactList):
@@ -75,7 +75,7 @@
 
     def __presentGroup(self, group):
         """Make a nice presentation for the contact groups"""
-        html = """-- [%s] --""" % group
+        html = u"""-- [%s] --""" % group
 
         return html