diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2013-02-02 11:26:02 +0000 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2013-03-03 13:48:21 +0000 |
commit | db460d710385aed2eaa879ec19517562297af9ca (patch) | |
tree | 6a76cb97a0a58e477a9413604ef442277365b5d9 /alot/widgets/thread.py | |
parent | 6b8898b7c223505ace962aec26e168ac429dfd92 (diff) |
re-implement unfold-if-matching feature
Diffstat (limited to 'alot/widgets/thread.py')
-rw-r--r-- | alot/widgets/thread.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/alot/widgets/thread.py b/alot/widgets/thread.py index 89623552..2538656d 100644 --- a/alot/widgets/thread.py +++ b/alot/widgets/thread.py @@ -387,3 +387,6 @@ class ThreadTree(Tree): def prev_sibling_position(self, pos): return self._prev_sibling_of.get(pos, None) + + def position_of_messagetree(self, mt): + return mt._message.get_message_id() |