diff options
author | Carlos Soriano <csoriano@gnome.org> | 2016-03-03 16:39:15 +0100 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2016-03-03 16:53:15 +0100 |
commit | d7de374e3af33fa6d4c1db057fea78e7f66ba28d (patch) | |
tree | c0569cdd6b26b2a9c34924938ab1ccfe714858e2 | |
parent | 0714f9d0e4ccf814487758711ad215c533420e1b (diff) | |
download | nautilus-d7de374e3af33fa6d4c1db057fea78e7f66ba28d.tar.gz |
shell-search-provider: make it work again
We removed the search action with a rework on the whole handling
of views/slots/search-query handling to decouple the code better
and not expose API that is not needed outside.
The problem is that we actually needed a way to search from the
application, since gnome-shell search provider communicates in that way.
However we missed this since it was just an action in the application,
which made us don't catch this.
Now we allow a search in the whole stack but in a cleaner and direct
way to not be in the same situation in the future.
This patch use that to make the shell search provider work again.
https://bugzilla.gnome.org/show_bug.cgi?id=762076
-rw-r--r-- | src/nautilus-shell-search-provider.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nautilus-shell-search-provider.c b/src/nautilus-shell-search-provider.c index 27963f0e0..c50d7a928 100644 --- a/src/nautilus-shell-search-provider.c +++ b/src/nautilus-shell-search-provider.c @@ -663,8 +663,7 @@ handle_launch_search (NautilusShellSearchProvider2 *skeleton, gchar *string = g_strjoinv (" ", terms); gchar *uri = nautilus_get_home_directory_uri (); - g_action_group_activate_action (G_ACTION_GROUP (app), "search", - g_variant_new ("(ss)", uri, string)); + nautilus_application_search (app, uri, string); g_free (string); g_free (uri); |