wix: unicode fixes in contact list
This commit is contained in:
parent
ff634dad64
commit
d0f0e98b0e
1 changed files with 3 additions and 3 deletions
|
|
@ -5,10 +5,10 @@ from cgi import escape
|
||||||
from tools.jid import JID
|
from tools.jid import JID
|
||||||
|
|
||||||
|
|
||||||
class Group(str):
|
class Group(unicode):
|
||||||
"""Class used to recognize groups"""
|
"""Class used to recognize groups"""
|
||||||
|
|
||||||
class Contact(str):
|
class Contact(unicode):
|
||||||
"""Class used to recognize groups"""
|
"""Class used to recognize groups"""
|
||||||
|
|
||||||
class ContactList(wx.SimpleHtmlListBox, QuickContactList):
|
class ContactList(wx.SimpleHtmlListBox, QuickContactList):
|
||||||
|
|
@ -75,7 +75,7 @@ class ContactList(wx.SimpleHtmlListBox, QuickContactList):
|
||||||
|
|
||||||
def __presentGroup(self, group):
|
def __presentGroup(self, group):
|
||||||
"""Make a nice presentation for the contact groups"""
|
"""Make a nice presentation for the contact groups"""
|
||||||
html = """-- [%s] --""" % group
|
html = u"""-- [%s] --""" % group
|
||||||
|
|
||||||
return html
|
return html
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue