summaryrefslogtreecommitdiff
path: root/alot/widgets/thread.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2013-02-19 17:09:22 +0000
committerPatrick Totzke <patricktotzke@gmail.com>2013-03-03 17:26:57 +0000
commit6811803a40ffe0505d35c40ab083083e6030e0d8 (patch)
treeee92c8380ef7edb1e1a9e71bb8399a24146a2ca9 /alot/widgets/thread.py
parent2d49e49319f5639246bcfcd67dc2f710f138d2a2 (diff)
fold/unfold messages based on query string in thread mode
cf issue #561
Diffstat (limited to 'alot/widgets/thread.py')
-rw-r--r--alot/widgets/thread.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/alot/widgets/thread.py b/alot/widgets/thread.py
index dc5d34be..2be80ea5 100644
--- a/alot/widgets/thread.py
+++ b/alot/widgets/thread.py
@@ -152,6 +152,9 @@ class MessageTree(CollapsibleTree):
self._maintree = SimpleTree(self._assemble_structure())
CollapsibleTree.__init__(self, self._maintree)
+ def get_message(self):
+ return self._message
+
def reassemble(self):
self._maintree._treelist = self._assemble_structure()