work with bytestrings too [perhaps only with them here?]
This commit is contained in:
parent
7c2011576d
commit
6fcdf414eb
1 changed files with 1 additions and 1 deletions
|
@ -602,7 +602,7 @@ class RosterTooltip(NotificationAreaTooltip):
|
||||||
vcard_current_row + 1, gtk.EXPAND | gtk.FILL,
|
vcard_current_row + 1, gtk.EXPAND | gtk.FILL,
|
||||||
vertical_fill, 0, 0)
|
vertical_fill, 0, 0)
|
||||||
else:
|
else:
|
||||||
if isinstance(property[0], unicode):
|
if isinstance(property[0], (unicode, str)): #FIXME: rm unicode?
|
||||||
label.set_markup(property[0])
|
label.set_markup(property[0])
|
||||||
else:
|
else:
|
||||||
label = property[0]
|
label = property[0]
|
||||||
|
|
Loading…
Add table
Reference in a new issue