[gnome-software] Unbreak the GNOME Shell search provider



commit 25f6d252fe0cc8aa7320d6ff4ab7de8777c43945
Author: Richard Hughes <richard hughsie com>
Date:   Thu Sep 8 11:23:16 2016 +0100

    Unbreak the GNOME Shell search provider
    
    Applications now need an icon to get past the plugin loader sanity tests.
    
    Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=771047

 src/gs-shell-search-provider.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-shell-search-provider.c b/src/gs-shell-search-provider.c
index 497942c..85edb14 100644
--- a/src/gs-shell-search-provider.c
+++ b/src/gs-shell-search-provider.c
@@ -134,7 +134,9 @@ execute_search (GsShellSearchProvider  *self,
        g_application_hold (g_application_get_default ());
        self->cancellable = g_cancellable_new ();
        gs_plugin_loader_search_async (self->plugin_loader,
-                                      string, 0, self->cancellable,
+                                      string,
+                                      GS_PLUGIN_REFINE_FLAGS_REQUIRE_ICON,
+                                      self->cancellable,
                                       search_done_cb,
                                       pending_search);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]