From 1319f79bfe441b355ea35404198d53f079088a7c Mon Sep 17 00:00:00 2001 From: Patrick Totzke Date: Fri, 20 Jul 2012 22:16:31 +0100 Subject: fix small annoyances --- alot/widgets.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'alot') diff --git a/alot/widgets.py b/alot/widgets.py index 74b30e32..0145bb33 100644 --- a/alot/widgets.py +++ b/alot/widgets.py @@ -155,13 +155,13 @@ class ThreadlineWidget(urwid.AttrMap): elif name == 'subject': if self.thread: - subjectstring = self.thread.get_subject() or '' + subjectstring = self.thread.get_subject() or ' ' else: - subjectstring = '' + subjectstring = ' ' # sanitize subject string: subjectstring = subjectstring.replace('\n', ' ') subjectstring = subjectstring.replace('\r', '') - subjectstring = pad(subjectstring.strip()) + subjectstring = pad(subjectstring) subject_w = AttrFlipWidget(urwid.Text(subjectstring, wrap='clip'), struct['subject']) -- cgit v1.2.3