summaryrefslogtreecommitdiff
path: root/alot/buffer.py
diff options
context:
space:
mode:
authorpazz <patricktotzke@gmail.com>2011-07-18 18:02:13 +0100
committerpazz <patricktotzke@gmail.com>2011-07-18 18:02:13 +0100
commitcc2f57b706c2deda1a045624ce51ee0a662151ef (patch)
tree23330b5750dadd8766f64d3e1cb8547b3ce086ba /alot/buffer.py
parent6aebde5d3682414e47bbef21e8e9e8a4cfdfee15 (diff)
toggletag in thread buffer works again
Diffstat (limited to 'alot/buffer.py')
-rw-r--r--alot/buffer.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/alot/buffer.py b/alot/buffer.py
index 500873cf..d05b7c19 100644
--- a/alot/buffer.py
+++ b/alot/buffer.py
@@ -148,6 +148,9 @@ class SingleThreadBuffer(Buffer):
def __str__(self):
return '%s, (%d)' % (self.thread.get_subject(), self.message_count)
+ def get_selected_thread(self):
+ return self.thread
+
def _build_pile(self, acc, msg, parent, depth):
acc.append((parent, depth, msg))
for reply in self.thread.get_replies_to(msg):