Patch by: Matthias Clasen <mclasen@redhat.com>
2007-12-06 Jens Granseuer <jensgr@gmx.net> Patch by: Matthias Clasen <mclasen@redhat.com> As a stop-gap measure, until we've got a proper search interface, simply check whether beagle or tracker are installed, and prefer them to gnome-search-tool if they are (bug #497802) * gnome-settings-multimedia-keys.c: (do_action): prefer beagle and tracker to gnome-search-tool svn path=/trunk/; revision=8317
This commit is contained in:
parent
67c1c458bc
commit
4101101650
2 changed files with 19 additions and 1 deletions
|
@ -1,3 +1,14 @@
|
|||
2007-12-06 Jens Granseuer <jensgr@gmx.net>
|
||||
|
||||
Patch by: Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
As a stop-gap measure, until we've got a proper search interface,
|
||||
simply check whether beagle or tracker are installed, and prefer them
|
||||
to gnome-search-tool if they are (bug #497802)
|
||||
|
||||
* gnome-settings-multimedia-keys.c: (do_action): prefer beagle and
|
||||
tracker to gnome-search-tool
|
||||
|
||||
2007-12-06 Jens Granseuer <jensgr@gmx.net>
|
||||
|
||||
* gnome-settings-xsettings.c: use new setting from libgnome to make
|
||||
|
|
|
@ -701,7 +701,14 @@ do_action (Acme *acme, int type)
|
|||
g_free (cmd);
|
||||
break;
|
||||
case SEARCH_KEY:
|
||||
execute (acme, "gnome-search-tool", FALSE, FALSE);
|
||||
cmd = NULL;
|
||||
if ((cmd = g_find_program_in_path ("beagle-search")))
|
||||
execute (acme, "beagle-search", FALSE, FALSE);
|
||||
else if ((cmd = g_find_program_in_path ("tracker-search-tool")))
|
||||
execute (acme, "tracker-search-tool", FALSE, FALSE);
|
||||
else
|
||||
execute (acme, "gnome-search-tool", FALSE, FALSE);
|
||||
g_free (cmd);
|
||||
break;
|
||||
case EMAIL_KEY:
|
||||
do_mail_action (acme);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue