diff options
author | Carlos Soriano <csoriano@gnome.org> | 2016-07-28 14:22:04 +0200 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2016-07-28 14:24:14 +0200 |
commit | 2668164c6cbca8633752b62870ac19d2594dc2e5 (patch) | |
tree | ec94ad58411d5c3d02e54862b094dff05789c511 /src | |
parent | 26988024ac15b92b51557d4ce45f38fba982f4e8 (diff) | |
download | nautilus-2668164c6cbca8633752b62870ac19d2594dc2e5.tar.gz |
shell-search-provider: make search recursive
We lost the recursivity on the shell search with the search rework.
We need to explicitly set recursivity on the simple provider now.
https://bugzilla.gnome.org/show_bug.cgi?id=766174
Diffstat (limited to 'src')
-rw-r--r-- | src/nautilus-shell-search-provider.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nautilus-shell-search-provider.c b/src/nautilus-shell-search-provider.c index 41ee0d9ac..12a901a7b 100644 --- a/src/nautilus-shell-search-provider.c +++ b/src/nautilus-shell-search-provider.c @@ -394,6 +394,7 @@ execute_search (NautilusShellSearchProvider *self, { gchar *terms_joined; NautilusQuery *query; + NautilusSearchEngine *simple_provider; PendingSearch *pending_search; GFile *home; @@ -438,6 +439,8 @@ execute_search (NautilusShellSearchProvider *self, g_debug ("*** Search engine search started"); nautilus_search_provider_set_query (NAUTILUS_SEARCH_PROVIDER (pending_search->engine), query); + simple_provider = nautilus_search_engine_get_simple_provider (pending_search->engine); + g_object_set (simple_provider, "recursive", TRUE, NULL); nautilus_search_provider_start (NAUTILUS_SEARCH_PROVIDER (pending_search->engine)); g_clear_object (&home); |