[kupfer] plugin.locate: Remove is_dynamic
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer] plugin.locate: Remove is_dynamic
- Date: Sun, 1 Nov 2009 16:58:38 +0000 (UTC)
commit d1acbf8fb0af9f8f2b90be2c155b014640d257e6
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Sun Nov 1 01:58:32 2009 +0100
plugin.locate: Remove is_dynamic
With a change in Source, we can now yield items as we receive them,
while still being cached. This allows the locate action to display the
first 10 hits first, then the rest later (if the user scrolls down the
list or tries to filter the list, all items must load).
kupfer/plugin/locate.py | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/kupfer/plugin/locate.py b/kupfer/plugin/locate.py
index 1942ee5..2dc5423 100644
--- a/kupfer/plugin/locate.py
+++ b/kupfer/plugin/locate.py
@@ -46,9 +46,6 @@ class LocateQuerySource (Source):
self.query = query
self.max_items = 500
- def is_dynamic(self):
- return True
-
def get_items(self):
ignore_case = '--ignore-case' if __kupfer_settings__["ignore_case"] else ''
# Start two processes, one to take the first 10 hits, one
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]