summaryrefslogtreecommitdiff
path: root/alot/widgets
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2016-12-27 23:50:39 +0100
committerLucas Hoffmann <l-m-h@web.de>2017-01-18 11:01:21 +0100
commit14af9f3a2261fc9e35b0fc5c66fa1e9785e956d2 (patch)
tree906bb80985fa99e0b25554163d68c7ae61989bdf /alot/widgets
parent70cae61d4fa80e2090169f8cb83e69081a04f890 (diff)
Remove unused method
Diffstat (limited to 'alot/widgets')
-rw-r--r--alot/widgets/thread.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/alot/widgets/thread.py b/alot/widgets/thread.py
index 9b8d029d..4d2d9b6c 100644
--- a/alot/widgets/thread.py
+++ b/alot/widgets/thread.py
@@ -240,13 +240,6 @@ class MessageTree(CollapsibleTree):
self._bodytree = TextlinesList(bodytxt, att, att_focus)
return self._bodytree
- def replace_bodytext(self, txt):
- """display txt instead of current msg 'body'"""
- if txt:
- att = settings.get_theming_attribute('thread', 'body')
- att_focus = settings.get_theming_attribute('thread', 'body_focus')
- self._bodytree = TextlinesList(txt, att, att_focus)
-
def _get_headers(self):
if self.display_all_headers is True:
if self._all_headers_tree is None: