summaryrefslogtreecommitdiff
path: root/alot/widgets.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2012-07-15 13:36:18 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2012-07-15 13:36:18 +0100
commitfc3318c7167d7369cd7064f35f16a1d7bbbed231 (patch)
tree02cbf2fccd9dfc41ce2d70dda06fdb0b84595122 /alot/widgets.py
parent4275873b7b0a8f6335f80651e9843c7728c2f1b5 (diff)
use correct default values in threadline's tags part
this makes threadline.tags use the defaults from [threadline] [[tags]]
Diffstat (limited to 'alot/widgets.py')
-rw-r--r--alot/widgets.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/widgets.py b/alot/widgets.py
index 6de59622..518911e2 100644
--- a/alot/widgets.py
+++ b/alot/widgets.py
@@ -185,8 +185,8 @@ class ThreadlineWidget(urwid.AttrMap):
part = content_w
elif name == 'tags':
if self.thread:
- fallback_normal = self.structure['normal']
- fallback_focus = self.structure['focus']
+ fallback_normal = struct[name]['normal']
+ fallback_focus = struct[name]['focus']
tag_widgets = [TagWidget(t, fallback_normal, fallback_focus)
for t in self.thread.get_tags()]
tag_widgets.sort(tag_cmp,