Skip to content
Snippets Groups Projects
Commit 6fcdf414 authored by nkour's avatar nkour
Browse files

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

parent 7c201157
No related branches found
No related tags found
No related merge requests found
......@@ -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]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment