[nautilus/gnome-3-20] shell-search-provider: make it work again
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/gnome-3-20] shell-search-provider: make it work again
- Date: Thu, 3 Mar 2016 15:51:18 +0000 (UTC)
commit c07ff4575e74546530451b8d9bdb48af9bd5992c
Author: Carlos Soriano <csoriano gnome org>
Date: Thu Mar 3 16:39:15 2016 +0100
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
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 27963f0..c50d7a9 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]