make sure 'jid' is unicode

This commit is contained in:
Dimitur Kirov 2006-07-11 10:44:52 +00:00
parent f2f911c91e
commit 6bdc8eb210
1 changed files with 1 additions and 1 deletions

View File

@ -508,7 +508,7 @@ class RosterTooltip(NotificationAreaTooltip):
vcard_table.set_homogeneous(False)
vcard_current_row = 1
properties = []
jid_markup = '<span weight="bold">' + prim_contact.jid + '</span>'
jid_markup = '<span weight="bold">' + unicode(prim_contact.jid) + '</span>'
properties.append((jid_markup, None))
properties.append((_('Name: '), gtkgui_helpers.escape_for_pango_markup(
prim_contact.get_shown_name())))