diff options
author | pazz <patricktotzke@gmail.com> | 2011-07-18 18:02:13 +0100 |
---|---|---|
committer | pazz <patricktotzke@gmail.com> | 2011-07-18 18:02:13 +0100 |
commit | cc2f57b706c2deda1a045624ce51ee0a662151ef (patch) | |
tree | 23330b5750dadd8766f64d3e1cb8547b3ce086ba /alot | |
parent | 6aebde5d3682414e47bbef21e8e9e8a4cfdfee15 (diff) |
toggletag in thread buffer works again
Diffstat (limited to 'alot')
-rw-r--r-- | alot/buffer.py | 3 | ||||
-rw-r--r-- | alot/settings.py | 2 |
2 files changed, 4 insertions, 1 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): diff --git a/alot/settings.py b/alot/settings.py index d592b469..d07e8be0 100644 --- a/alot/settings.py +++ b/alot/settings.py @@ -330,7 +330,7 @@ MAPPING = { '&': ('toggletag killed', ''), }, 'thread': { - 'a': ('toggle_thread_tag inbox', ''), + 'a': ('toggletag inbox', ''), }, 'taglist': { # 'enter': ('search', {'query': (lambda: 'tag:' + |