|
|
@ -571,16 +571,19 @@ class Interface(object): |
|
|
|
# message) |
|
|
|
# message) |
|
|
|
|
|
|
|
|
|
|
|
if not data.read: |
|
|
|
if not data.read: |
|
|
|
message = "<b>" + message + "</b>" |
|
|
|
read_status = '<big>●</big>' |
|
|
|
|
|
|
|
else: |
|
|
|
|
|
|
|
read_status = '' |
|
|
|
|
|
|
|
|
|
|
|
if data.reposted_by: |
|
|
|
if data.reposted_by: |
|
|
|
markup = '<b>%s</b> <small>(%s -- <i>reposted by %s</i>)' \ |
|
|
|
markup = '<b>%s</b> <small>(%s -- <i>reposted by %s</i>)' \ |
|
|
|
'</small>:\n%s\n<small>%s</small>' % \ |
|
|
|
'</small>:%s\n%s\n<small>%s</small>' % \ |
|
|
|
(data.name, username, data.reposted_by, message, time) |
|
|
|
(data.name, username, data.reposted_by, read_status, |
|
|
|
|
|
|
|
message, time) |
|
|
|
else: |
|
|
|
else: |
|
|
|
markup = '<b>%s</b> <small>(%s)</small>:\n%s\n' \ |
|
|
|
markup = '<b>%s</b> <small>(%s)</small>:%s\n%s\n' \ |
|
|
|
'<small>%s</small>' % \ |
|
|
|
'<small>%s</small>' % \ |
|
|
|
(data.name, username, message, time) |
|
|
|
(data.name, username, read_status, message, time) |
|
|
|
|
|
|
|
|
|
|
|
cell.set_property('markup', markup) |
|
|
|
cell.set_property('markup', markup) |
|
|
|
|
|
|
|
|
|
|
|