summaryrefslogtreecommitdiff
path: root/alot/widgets/search.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2012-08-10 22:58:57 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2012-08-10 22:58:57 +0100
commitdd7b2a15495ce5fddcac0d34c14e5ef9f1032482 (patch)
tree1a69a2381618e7d2dc92fd641130a5195e883bdb /alot/widgets/search.py
parent63f55d3b4878bb70e924a4051aca2ce6855e9dea (diff)
theming: fix c&p error in mailcount part of ThreadlineWidget
Diffstat (limited to 'alot/widgets/search.py')
-rw-r--r--alot/widgets/search.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/widgets/search.py b/alot/widgets/search.py
index 6f8ed126..7a301d81 100644
--- a/alot/widgets/search.py
+++ b/alot/widgets/search.py
@@ -64,7 +64,7 @@ class ThreadlineWidget(urwid.AttrMap):
mailcountstring = "(%d)" % self.thread.get_total_messages()
else:
mailcountstring = "(?)"
- datestring = pad(mailcountstring)
+ mailcountstring = pad(mailcountstring)
width = len(mailcountstring)
mailcount_w = AttrFlipWidget(urwid.Text(mailcountstring),
struct['mailcount'])