diff options
Diffstat (limited to 'alot')
-rw-r--r-- | alot/buffers.py | 2 | ||||
-rw-r--r-- | alot/walker.py | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/alot/buffers.py b/alot/buffers.py index e9fb7a44..859f342d 100644 --- a/alot/buffers.py +++ b/alot/buffers.py @@ -308,7 +308,7 @@ class SearchBuffer(Buffer): self.body.set_focus(0) elif self.result_count < 200 or self.sort_order not in self._REVERSE: self.consume_pipe() - num_lines = len(self.threadlist.get_lines()) + num_lines = len(self.threadlist.lines) self.body.set_focus(num_lines - 1) else: self.rebuild(reverse=True) diff --git a/alot/walker.py b/alot/walker.py index c1a23feb..381976ae 100644 --- a/alot/walker.py +++ b/alot/walker.py @@ -79,6 +79,3 @@ class PipeWalker(urwid.ListWalker): next_widget = None self.empty = True return next_widget - - def get_lines(self): - return self.lines |