nautilus/nautilus-2.16.2-searchengine-order.patch
Alexander Larsson 4e079a3bff - Look for beagle before tracker, because tracker autostarts This lets us
support having both installed at the same time.
- Remove buildreqs for beagle, as they are not necessary with the dynamic
    work.
2006-11-22 13:24:51 +00:00

29 lines
716 B
Diff

--- nautilus-2.16.2/libnautilus-private/nautilus-search-engine.c.order 2006-11-22 13:19:49.000000000 +0100
+++ nautilus-2.16.2/libnautilus-private/nautilus-search-engine.c 2006-11-22 13:20:03.000000000 +0100
@@ -126,19 +126,20 @@
{
NautilusSearchEngine *engine;
-#ifdef HAVE_TRACKER
- engine = nautilus_search_engine_tracker_new ();
+#ifdef HAVE_BEAGLE
+ engine = nautilus_search_engine_beagle_new ();
if (engine) {
return engine;
}
#endif
-
-#ifdef HAVE_BEAGLE
- engine = nautilus_search_engine_beagle_new ();
+
+#ifdef HAVE_TRACKER
+ engine = nautilus_search_engine_tracker_new ();
if (engine) {
return engine;
}
#endif
+
engine = nautilus_search_engine_simple_new ();
return engine;
}