From d87041bfe38368982b6b72f6812972b6a1d29a21 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 28 Feb 2015 16:42:39 -0500 Subject: tracker: Turn on fts We want to match what nautilus does, and the non-fts query ignores the location, which yields somewhat broken UI in the file chooser. --- gtk/gtksearchenginetracker.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gtk/gtksearchenginetracker.c') diff --git a/gtk/gtksearchenginetracker.c b/gtk/gtksearchenginetracker.c index 6bc5e20f05..f5a428cfb2 100644 --- a/gtk/gtksearchenginetracker.c +++ b/gtk/gtksearchenginetracker.c @@ -50,7 +50,7 @@ * use filename matching instead. This doesn’t use the content of the * file however. */ -#undef FTS_MATCHING +#define FTS_MATCHING /* * GtkSearchEngineTracker object @@ -392,6 +392,8 @@ gtk_search_engine_tracker_start (GtkSearchEngine *engine) tracker->priv->query_pending = TRUE; + g_debug ("SearchEngineTracker: query: %s", sparql->str); + get_query_results (tracker, sparql->str, query_callback, tracker); g_string_free (sparql, TRUE); -- cgit v1.2.1