summaryrefslogtreecommitdiff
path: root/alot
diff options
context:
space:
mode:
authorpazz <patricktotzke@gmail.com>2011-08-13 09:28:44 +0100
committerpazz <patricktotzke@gmail.com>2011-08-13 09:28:44 +0100
commit4318037f1cf785069865fb3fb7da0ccd59688a0a (patch)
tree1b4f1b5e21c59b2cc3ef63740d3b5a160d2a0bf6 /alot
parent0265e77c4f3716d0e6376e0b1e50655ee349d47c (diff)
fix: header toggle
Diffstat (limited to 'alot')
-rw-r--r--alot/widgets.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/widgets.py b/alot/widgets.py
index ed10db41..89230f5f 100644
--- a/alot/widgets.py
+++ b/alot/widgets.py
@@ -300,9 +300,9 @@ class MessageWidget(urwid.WidgetWrap):
def toggle_full_header(self):
"""toggles if message headers are shown"""
# caution: this is very ugly, it's supposed to get the headerwidget.
- col = self._get_header_widget().widet_list
+ col = self._get_header_widget().widget_list
hws = [h for h in col if isinstance(h, MessageHeaderWidget)][0]
- hw[0].toggle_all()
+ hws.toggle_all()
def fold(self, visible=False):
hw = self._get_header_widget()