Fix possible parsing error

This commit is contained in:
Stephan Erb 2007-12-27 10:06:30 +00:00
parent 7539d5b70e
commit 71fd4665eb
1 changed files with 2 additions and 1 deletions

View File

@ -592,7 +592,8 @@ class RosterTooltip(NotificationAreaTooltip):
vertical_fill, 0, 0)
else:
if isinstance(property[0], (unicode, str)): #FIXME: rm unicode?
label.set_markup(property[0])
markup = gobject.markup_escape_text(property[0])
label.set_markup(markup)
label.set_line_wrap(True)
else:
label = property[0]