From 14af9f3a2261fc9e35b0fc5c66fa1e9785e956d2 Mon Sep 17 00:00:00 2001 From: Lucas Hoffmann Date: Tue, 27 Dec 2016 23:50:39 +0100 Subject: Remove unused method --- alot/widgets/thread.py | 7 ------- 1 file changed, 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: -- cgit v1.2.3