forked from AuroraMiddleware/gtk
GtkSearchEngineSimple: Disable recursive search
It is too slow to be useful, rely on the Tracker engine to perform recursive search. Fixes: #2392.
This commit is contained in:
parent
d877325a1e
commit
68bd429edd
@ -109,7 +109,8 @@ search_thread_data_new (GtkSearchEngineSimple *engine,
|
||||
data->engine = g_object_ref (engine);
|
||||
data->directories = g_queue_new ();
|
||||
data->query = g_object_ref (query);
|
||||
data->recursive = _gtk_search_engine_get_recursive (GTK_SEARCH_ENGINE (engine));
|
||||
/* Simple search engine is too slow to be recursive */
|
||||
data->recursive = FALSE;
|
||||
queue_if_local (data, gtk_query_get_location (query));
|
||||
|
||||
data->cancellable = g_cancellable_new ();
|
||||
|
Loading…
Reference in New Issue
Block a user