diff options
author | pazz <patricktotzke@gmail.com> | 2011-08-13 09:28:44 +0100 |
---|---|---|
committer | pazz <patricktotzke@gmail.com> | 2011-08-13 09:28:44 +0100 |
commit | 4318037f1cf785069865fb3fb7da0ccd59688a0a (patch) | |
tree | 1b4f1b5e21c59b2cc3ef63740d3b5a160d2a0bf6 /alot | |
parent | 0265e77c4f3716d0e6376e0b1e50655ee349d47c (diff) |
fix: header toggle
Diffstat (limited to 'alot')
-rw-r--r-- | alot/widgets.py | 4 |
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() |