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 component: pygtk
release: 1.0.0 release: 1.0.0
reporter: Julio Biason <julio.biason@gmail.com> reporter: Julio Biason <julio.biason@gmail.com>
status: :unstarted status: :closed
disposition: disposition: :fixed
creation_time: 2009-12-21 10:36:40.711305 Z creation_time: 2009-12-21 10:36:40.711305 Z
references: [] references: []
@ -18,3 +18,7 @@ log_events:
- Julio Biason <julio.biason@gmail.com> - Julio Biason <julio.biason@gmail.com>
- created - created
- Needs a space before the opening ( and a closing ) - 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 component: pygtk
release: 1.0.0 release: 1.0.0
reporter: Julio Biason <julio.biason@gmail.com> reporter: Julio Biason <julio.biason@gmail.com>
status: :unstarted status: :closed
disposition: disposition: :fixed
creation_time: 2009-12-21 10:35:32.083302 Z creation_time: 2009-12-21 10:35:32.083302 Z
references: [] references: []
@ -16,3 +16,7 @@ log_events:
- Julio Biason <julio.biason@gmail.com> - Julio Biason <julio.biason@gmail.com>
- created - 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) URL_RE = re.compile(r'(https?://[^\s\n\r]+)', re.I)
MESSAGE_FORMAT = '%s' \ MESSAGE_FORMAT = '%s' \
'<b>%s</b>' \ '<b>%s</b> ' \
'<small>(%s' \ '<small>(%s' \
'%s' \ '%s' \
'</small>:' \ ')</small>:' \
'%s\n' \ '%s\n' \
'%s\n' \ '%s\n' \
'<small>%s</small>' '<small>%s</small>'
@ -603,7 +603,8 @@ class Interface(object):
favourite = '&#9734;' favourite = '&#9734;'
if data.reposted_by: if data.reposted_by:
reposted_message = ' &#8212; <i>reposted by %s</i>' reposted_message = ' &#8212; <i>reposted by %s</i>' % (
data.reposted_by)
else: else:
reposted_message = '' reposted_message = ''

Loading…
Cancel
Save