[Tracker] [PATCH 0/2] Some improvements on t-s-t
- From: "Juan A. Suarez Romero" <jasuarez igalia com>
- To: tracker-list gnome org
- Subject: [Tracker] [PATCH 0/2] Some improvements on t-s-t
- Date: Mon, 2 Nov 2009 16:02:19 +0100
Hello all!
I've been working on a couple of improvements for t-s-t.
1. I've noticed everytime you type a new letter in the entry box, a new search is performed in tracker. I
think this is not very efficient, as user may want to look for a longer word, and intermediate searches are
not useful at all. So this first patch only performs a search if 500ms passes by without typing any text.
2. The second patch allows to restrict searching to a specific path. This is done using special key 'path:'
in the entry search. As example, entering 'offspring path:/home/user/MyMusic' will perform a search within
/home/user/MyMusic. As it can be seen, this approach could be extendend in future with new keys and
combinations.
While the first are quite interesting, not sure for the second one. I mean, I think it's useful, but I'm not
sure if the choosen approach is the best one. The good part is that it can be extended to other keys, besides
path.
J.A.
---
Juan A. Suarez Romero (2):
tracker-search-tool: delay 500ms before querying tracker
tracker-search-tool: allow restrict search to a path
src/tracker-search-tool/tracker-entry.gs | 24 +++++++++++++++++++-----
src/tracker-search-tool/tracker-query.gs | 20 ++++++++++++++++++--
src/tracker-search-tool/tracker-utils.gs | 28 ++++++++++++++++++++++------
3 files changed, 59 insertions(+), 13 deletions(-)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]