work with bytestrings too [perhaps only with them here?]
This commit is contained in:
parent
7c2011576d
commit
6fcdf414eb
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue