Make GCTooltip behave more like the RosterTooltip

This commit is contained in:
Alexander Cherniuk 2010-04-03 21:08:09 +03:00
parent 614c1f8a1d
commit 1c1fb442b4
1 changed files with 4 additions and 4 deletions

View File

@ -366,10 +366,10 @@ class GCTooltip(BaseTooltip):
status = '<i>' +\
gobject.markup_escape_text(status) + '</i>'
properties.append((status, None))
else: # no status message, show SHOW instead
show = helpers.get_uf_show(contact.show)
show = self.colorize_status(show)
properties.append((show, None))
show = helpers.get_uf_show(contact.show)
show = self.colorize_status(show)
properties.append((show, None))
if contact.jid.strip() != '':
properties.append((_('Jabber ID: '), contact.jid))