[Darlan] Pep information in tooltip as table. Fixes #7401
This commit is contained in:
parent
ffdb65339b
commit
ed1b67def7
|
@ -709,19 +709,19 @@ class RosterTooltip(NotificationAreaTooltip):
|
||||||
"""
|
"""
|
||||||
if 'mood' in contact.pep:
|
if 'mood' in contact.pep:
|
||||||
mood = contact.pep['mood'].asMarkupText()
|
mood = contact.pep['mood'].asMarkupText()
|
||||||
properties.append((_("Mood: %s") % mood, None))
|
properties.append((_('Mood: '), "%s" % mood, None))
|
||||||
|
|
||||||
if 'activity' in contact.pep:
|
if 'activity' in contact.pep:
|
||||||
activity = contact.pep['activity'].asMarkupText()
|
activity = contact.pep['activity'].asMarkupText()
|
||||||
properties.append((_("Activity: %s") % activity, None))
|
properties.append((_('Activity: '), "%s" % activity, None))
|
||||||
|
|
||||||
if 'tune' in contact.pep:
|
if 'tune' in contact.pep:
|
||||||
tune = contact.pep['tune'].asMarkupText()
|
tune = contact.pep['tune'].asMarkupText()
|
||||||
properties.append((_("Tune: %s") % tune, None))
|
properties.append((_('Tune: '), "%s" % tune, None))
|
||||||
|
|
||||||
if 'location' in contact.pep:
|
if 'location' in contact.pep:
|
||||||
location = contact.pep['location'].asMarkupText()
|
location = contact.pep['location'].asMarkupText()
|
||||||
properties.append((_("Location: %s") % location, None))
|
properties.append((_('Location: '), "%s" % location, None))
|
||||||
|
|
||||||
|
|
||||||
class FileTransfersTooltip(BaseTooltip):
|
class FileTransfersTooltip(BaseTooltip):
|
||||||
|
|
Loading…
Reference in New Issue