Il giorno gio, 08/03/2007 alle 16.16 +0000, jamie ha scritto:
> On Thu, 2007-03-08 at 17:10 +0100, Luca Ferretti wrote:
> > Il giorno gio, 08/03/2007 alle 14.41 +0100, Michael Biebl ha scritto:
> > > 2007/3/8, Luca Ferretti <[EMAIL PROTECTED]>:
> > It's a really hard task IMHO, difficult to perform in GNOME 2.20
> > timeframe. Maybe we (jamie) should start to write on live.gnome.org an
> > initial proposal, asking GIMP application developers :-) to review it.
> > Then we could branch sources and start implement.
> >
>
> no need - I am going to implement external services support soon which
> will allow any app to drop a service desktop file in a certain dir to
> perform extraction for a list of mime types or an entirely new service
> (like web feeds)
This remember me an idea about preferences tool. I like to have a more
simple preferences tool with just 2 tabs, Services and Resources:
Services tab should be something like the Apple Spotlight Search Results
tab[1], a list of know and managed services with checkboxes to disable
them. Something like
[x] Applications
[x] Audio & Music
[x] Documents
[x] Email messages
[x] Folders
[x] Images
[x] Videos
If you uncheck the "Audio & Video" option, all tracker known audio file
will be ignored in indexing (and removed from database if yet indexed).
Same for "Email messages": un-checking the option, tracker will enable
all managed email sources (Evolution, KMail, Thunderbird). Maybe it's a
row way to do, but it's simple for end-user and very GNOME-ish. If you
need to exclude special patterns, you are geek enough to do it in
configuration file[2].
A similar approach in Resources tab: instead of 2 lists, one for places
to add, one for places to exclude, a single simple tree like:
| V Indexed resources | [ Add Resource ]
| Home Directory |
| Evolution Inbox | [ Ignore Resource]
| /usr/share/docs/ |
| smb://Condivisi | [Remove from List]
| V Ignored resources |
| /home/luca/tmp |
| /home/luca/Desktop/Downloaded |
| email://inbox/tracker-mailing-list |
^-- table with expanders ^--- buttons
like in keyboard shortcut
preference tool
Home Directory and Evolution Inbox are added by default, but users
should be able to remove them and add again; when the Indexing resource
is empty, the Tracker database should be cleaned, so readding Home
Directory resource Tracker will create index from scratch.
> these external filters can be ditributed with the client app. EG GIMP
> would distribute it and install it in /usr/share/tracker/services.
Now, if you like to provide this kind of preferences tool, with the
ability do disable a service, you should define something to exclude the
custom GIMP extractor if the user uncheck the Images option.
Something like in Alacarte: if you disable a Category (for example
Internet) all applications in it will disappear from menus (Epiphany,
Firefox, Liferea...)
[1] http://www.osnews.com/img/12671/preferences.png
[2] Self note: open a bug asking a command line tool to check if
tracker.cfg is well configured.
_______________________________________________
tracker-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/tracker-list