[gnome-software/gnome-3-12] Always return valid results when using the shell search provider
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-12] Always return valid results when using the shell search provider
- Date: Mon, 7 Apr 2014 15:22:14 +0000 (UTC)
commit a1b5e4da68afdf54e2131e2a0108d476c0b40bac
Author: Richard Hughes <richard hughsie com>
Date: Mon Apr 7 16:07:40 2014 +0100
Always return valid results when using the shell search provider
If the application is defined as a web-app, never try to find a package name
using PackageKit.
src/plugins/gs-plugin-packagekit-refine.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-packagekit-refine.c b/src/plugins/gs-plugin-packagekit-refine.c
index 51dcb8e..936404f 100644
--- a/src/plugins/gs-plugin-packagekit-refine.c
+++ b/src/plugins/gs-plugin-packagekit-refine.c
@@ -593,6 +593,8 @@ gs_plugin_refine_require_details (GsPlugin *plugin,
(gs_app_get_description (app) != NULL ||
g_getenv ("GNOME_SOFTWARE_USE_PKG_DESCRIPTIONS") == NULL))
continue;
+ if (gs_app_get_id_kind (app) == GS_APP_ID_KIND_WEBAPP)
+ continue;
if (gs_app_get_source_id_default (app) == NULL)
continue;
list_tmp = g_list_prepend (list_tmp, app);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]