Browse Source

Proper display of messages

master
Julio Biason 15 years ago
parent
commit
ed859af0c1
  1. 8
      issues/issue-5133ba229a10c19fc5cb5d450dd806c537836fd7.yaml
  2. 8
      issues/issue-71da2e7663526cc64645c55aa609f4959c8eaa41.yaml
  3. 7
      mitterlib/ui/ui_pygtk.py

8
issues/issue-5133ba229a10c19fc5cb5d450dd806c537836fd7.yaml

@ -7,8 +7,8 @@ type: :bugfix
component: pygtk
release: 1.0.0
reporter: Julio Biason <julio.biason@gmail.com>
status: :unstarted
disposition:
status: :closed
disposition: :fixed
creation_time: 2009-12-21 10:36:40.711305 Z
references: []
@ -18,3 +18,7 @@ log_events:
- Julio Biason <julio.biason@gmail.com>
- created
- Needs a space before the opening ( and a closing )
- - 2009-12-22 00:43:57.138004 Z
- Julio Biason <julio.biason@gmail.com>
- closed with disposition fixed
- ""

8
issues/issue-71da2e7663526cc64645c55aa609f4959c8eaa41.yaml

@ -5,8 +5,8 @@ type: :bugfix
component: pygtk
release: 1.0.0
reporter: Julio Biason <julio.biason@gmail.com>
status: :unstarted
disposition:
status: :closed
disposition: :fixed
creation_time: 2009-12-21 10:35:32.083302 Z
references: []
@ -16,3 +16,7 @@ log_events:
- Julio Biason <julio.biason@gmail.com>
- created
- ""
- - 2009-12-22 00:43:48.353792 Z
- Julio Biason <julio.biason@gmail.com>
- closed with disposition fixed
- ""

7
mitterlib/ui/ui_pygtk.py

@ -43,10 +43,10 @@ _log = logging.getLogger('ui.pygtk')
URL_RE = re.compile(r'(https?://[^\s\n\r]+)', re.I)
MESSAGE_FORMAT = '%s' \
'<b>%s</b>' \
'<b>%s</b> ' \
'<small>(%s' \
'%s' \
'</small>:' \
')</small>:' \
'%s\n' \
'%s\n' \
'<small>%s</small>'
@ -603,7 +603,8 @@ class Interface(object):
favourite = '&#9734;'
if data.reposted_by:
reposted_message = ' &#8212; <i>reposted by %s</i>'
reposted_message = ' &#8212; <i>reposted by %s</i>' % (
data.reposted_by)
else:
reposted_message = ''

Loading…
Cancel
Save