# HG changeset patch # User Goffi # Date 1282237963 -28800 # Node ID 58f96e66ec17e4cf7bada72e902822bcaa3fa7d6 # Parent 3d7a06fe3997657f5d99f63da3fca320b18bacf1 wix: unicode fixes in contact list diff -r 3d7a06fe3997 -r 58f96e66ec17 frontends/wix/contact_list.py --- 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