summaryrefslogtreecommitdiff
path: root/alot/buffers.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2011-11-05 12:07:26 +0000
committerPatrick Totzke <patricktotzke@gmail.com>2011-11-05 12:07:26 +0000
commit753cffe41dda01debbb6ee0fad0eceeb24efe79f (patch)
tree1177c588db8e381c3bca0b65c43f8686bcf06d8a /alot/buffers.py
parent6cf41364a058fd947751a17c8e306cdbd155a6ea (diff)
renamed DisensembledMail -> Envelope
Diffstat (limited to 'alot/buffers.py')
-rw-r--r--alot/buffers.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/alot/buffers.py b/alot/buffers.py
index e679e2b7..85c83027 100644
--- a/alot/buffers.py
+++ b/alot/buffers.py
@@ -93,12 +93,11 @@ class BufferlistBuffer(Buffer):
class EnvelopeBuffer(Buffer):
- def __init__(self, ui, dmail):
+ def __init__(self, ui, envelope):
self.ui = ui
- self.dmail = dmail
- self.mail = dmail.construct_mail()
+ self.envelope = envelope
+ self.mail = envelope.construct_mail()
self.rebuild()
- ui.logger.debug(dmail)
Buffer.__init__(self, ui, self.body, 'envelope')
def __str__(self):
@@ -112,7 +111,7 @@ class EnvelopeBuffer(Buffer):
self.rebuild()
def rebuild(self):
- self.mail = self.dmail.construct_mail()
+ self.mail = self.envelope.construct_mail()
displayed_widgets = []
hidden = settings.config.getstringlist('general',
'envelope_headers_blacklist')