After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 491647 - Add schemas for search tool preferred application
Add schemas for search tool preferred application
Status: RESOLVED WONTFIX
Product: libgnome
Classification: Deprecated
Component: general
HEAD
Other All
: Normal normal
: ---
Assigned To: libgnome maintainer
libgnome maintainer
Depends on:
Blocks: 491650 491652 491654
 
 
Reported: 2007-10-30 09:34 UTC by Luca Ferretti
Modified: 2008-02-07 14:56 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
The proposed patch (2.35 KB, patch)
2007-10-30 09:38 UTC, Luca Ferretti
rejected Details | Review

Description Luca Ferretti 2007-10-30 09:34:39 UTC
Here is a patch to add GConf keys /desktop/gnome/applications/search_tool/[exec|needs_term]

Those keys will be used to store the preferred user's search tool (plain and old gnome-search-tool, tracker, beagle, x-nautilus-search://, etc).

Users will be able to change them using the Default Applications preferences.

Applications (Places->Search File menu item on panel, Search button on panel, and Search key on keyboard) will use them in order to start the preferred search too.
Comment 1 Luca Ferretti 2007-10-30 09:38:28 UTC
Created attachment 98161 [details] [review]
The proposed patch

Contents:
 * the new schema.in file with new GConf keys
 * changes to schemas/Makefile.am to install new file
 * changes to po/POTFILES.in to translate GConf descriptions
Comment 2 Luca Ferretti 2007-10-30 09:39:54 UTC
Note: the patch is against gnome-2-20 branch, but of course it should be applied to TRUNK.
Comment 3 Bastien Nocera 2008-01-07 19:17:44 UTC
Not a bad idea if it allows to remove the distro hacks to launch a specific tool from the panel.
Comment 4 Luca Ferretti 2008-01-07 19:45:28 UTC
Bastien, it seems that some people don't like this idea.

See http://mail.gnome.org/archives/desktop-devel-list/2007-October/msg00242.html

Note: on current GNOME SVN was applied to gnome-settings-daemon something like: "if exist beagle-search, launch it; else if exist tracker-search-tool launch it; else launch gnome-search-tool"
Comment 5 Kjartan Maraas 2008-01-08 11:17:38 UTC
Should we just drop this now then?
Comment 6 Luca Ferretti 2008-02-06 20:18:15 UTC
Just to advocate my patch, now that we have schemas for "calendar" and "tasks", is "search_tool" still a no-no?
Comment 7 Luca Ferretti 2008-02-06 20:21:46 UTC
Forgot to mention: IMHO the current "if exist $tool launch it" is totally a crack.

If you have both tracker and beagle installed on your system (you can do, UNIX is multiuser, users have their hown preferences) and you like Tracker, you have no ability to launch it. This is discrimination :-|
Comment 8 Christian Persch 2008-02-06 20:46:54 UTC
Luca: I'm all for it, but if it's not going to be used by g-s-d (search key binding) then what use is the existence of the schema? The comments from the gsd maintainers in bug 497802 don't seem very supportive to me of this issue...
Comment 9 Luca Ferretti 2008-02-07 14:37:50 UTC
It seems that people are OK (new bug #514876) with current approach, waiting for new search tool.

Please close this bug, don't ask me to kill my own child (really, I don't know how to close it: WONTFIX? NOTABUG? INVALID?)