Browse Source

Display retweets

master
Julio Biason 15 years ago
parent
commit
a05aa4e082
  1. 9
      mitterlib/ui/ui_pygtk.py

9
mitterlib/ui/ui_pygtk.py

@ -571,8 +571,15 @@ class Interface(object):
# r'<span foreground="#FF6633">\1</span>', # r'<span foreground="#FF6633">\1</span>',
# message) # message)
markup = '<b>%s</b> <small>(%s)</small>:\n%s\n<small>%s</small>' % \ if data.reposted_by:
markup = '<b>%s</b> <small>(%s -- <i>reposted by %s</i>)' \
'</small>:\n%s\n<small>%s</small>' % \
(data.name, username, data.reposted_by, message, time)
else:
markup = '<b>%s</b> <small>(%s)</small>:\n%s\n' \
'<small>%s</small>' % \
(data.name, username, message, time) (data.name, username, message, time)
cell.set_property('markup', markup) cell.set_property('markup', markup)
return return

Loading…
Cancel
Save