diff options
author | pazz <patricktotzke@gmail.com> | 2011-08-10 08:58:19 +0100 |
---|---|---|
committer | pazz <patricktotzke@gmail.com> | 2011-08-10 08:58:19 +0100 |
commit | fc4486556e94610469051a89f5e21a2cf24ff2a8 (patch) | |
tree | 86a81d959ce7f6a6d9cccf0b987c8fc011032c9b /alot/widgets.py | |
parent | 637802a5d5829ecb9147481d09bbb5c795b8e3d6 (diff) |
removed old header toggle
Diffstat (limited to 'alot/widgets.py')
-rw-r--r-- | alot/widgets.py | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/alot/widgets.py b/alot/widgets.py index 3b7b8ae9..956abf9a 100644 --- a/alot/widgets.py +++ b/alot/widgets.py @@ -328,16 +328,7 @@ class MessageWidget(urwid.WidgetWrap): #TODO: this needs to go in favour of a binding in the buffer! def keypress(self, size, key): - if key == 'h': - self.toggle_header() - elif key == 'enter': - self.toggle_attachments() - self.toggle_header() - self.toggle_body() - elif key == 'H': - self.toggle_full_header() - else: - return self.pile.keypress(size, key) + return key def get_message(self): """get contained message |