summaryrefslogtreecommitdiff
path: root/alot/buffers.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2012-04-08 23:15:21 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2012-04-08 23:15:21 +0100
commitffe377c3deb9fed7e4791973893e5bf6640f6dd9 (patch)
treec6296a74fad03a35823908c53ca220b64bf042da /alot/buffers.py
parent33c19788bddf9c8086eb05678ea54b948c318679 (diff)
use envelope specific header attributes
..instead of the same as in thread mode issue #430
Diffstat (limited to 'alot/buffers.py')
-rw-r--r--alot/buffers.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/alot/buffers.py b/alot/buffers.py
index e4401198..db6a614e 100644
--- a/alot/buffers.py
+++ b/alot/buffers.py
@@ -118,7 +118,9 @@ class EnvelopeBuffer(Buffer):
# add header list widget iff header values exists
if lines:
- self.header_wgt = widgets.HeadersList(lines)
+ key_att = settings.get_theming_attribute('envelope', 'header_key')
+ value_att = settings.get_theming_attribute('envelope', 'header_value')
+ self.header_wgt = widgets.HeadersList(lines, key_att, value_att)
displayed_widgets.append(self.header_wgt)
#display attachments