summaryrefslogtreecommitdiff
path: root/alot/buffers.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2012-09-06 17:16:25 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2012-09-06 17:16:25 +0100
commitc15bb40496d3adcfd154d084407b9c6bf14c3c95 (patch)
tree856e0310c6ed9f83744c18b623766301ba9d67ac /alot/buffers.py
parent189a30aa5e6e681c0e7cea657e997e655dd42b96 (diff)
actually use mode-specific gap attributes
.. in HeaderList widgets close issue #513
Diffstat (limited to 'alot/buffers.py')
-rw-r--r--alot/buffers.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/alot/buffers.py b/alot/buffers.py
index 331375b6..9f351cf3 100644
--- a/alot/buffers.py
+++ b/alot/buffers.py
@@ -157,7 +157,8 @@ class EnvelopeBuffer(Buffer):
key_att = settings.get_theming_attribute('envelope', 'header_key')
value_att = settings.get_theming_attribute('envelope',
'header_value')
- self.header_wgt = HeadersList(lines, key_att, value_att)
+ gaps_att = settings.get_theming_attribute('envelope', 'header')
+ self.header_wgt = HeadersList(lines, key_att, value_att, gaps_att)
displayed_widgets.append(self.header_wgt)
#display attachments