work with bytestrings too [perhaps only with them here?]

This commit is contained in:
Nikos Kouremenos 2006-09-27 23:17:54 +00:00
parent 7c2011576d
commit 6fcdf414eb
1 changed files with 1 additions and 1 deletions

View File

@ -602,7 +602,7 @@ class RosterTooltip(NotificationAreaTooltip):
vcard_current_row + 1, gtk.EXPAND | gtk.FILL,
vertical_fill, 0, 0)
else:
if isinstance(property[0], unicode):
if isinstance(property[0], (unicode, str)): #FIXME: rm unicode?
label.set_markup(property[0])
else:
label = property[0]