[gnome-software] Never return collections when searching using PackageKit
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Never return collections when searching using PackageKit
- Date: Mon, 2 Sep 2013 18:06:08 +0000 (UTC)
commit b7567e287f97015b4c904fa607c8c6fc7bbe3ca9
Author: Richard Hughes <richard hughsie com>
Date: Mon Sep 2 19:06:01 2013 +0100
Never return collections when searching using PackageKit
src/plugins/gs-plugin-packagekit.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-packagekit.c b/src/plugins/gs-plugin-packagekit.c
index 75407d2..fa2b483 100644
--- a/src/plugins/gs-plugin-packagekit.c
+++ b/src/plugins/gs-plugin-packagekit.c
@@ -218,6 +218,7 @@ gs_plugin_add_search (GsPlugin *plugin,
filter = pk_bitfield_from_enums (PK_FILTER_ENUM_NEWEST,
PK_FILTER_ENUM_ARCH,
PK_FILTER_ENUM_APPLICATION,
+ PK_FILTER_ENUM_NOT_COLLECTIONS,
-1);
values[0] = value;
results = pk_client_search_details (PK_CLIENT(plugin->priv->task),
@@ -265,6 +266,7 @@ gs_plugin_add_installed (GsPlugin *plugin,
PK_FILTER_ENUM_NEWEST,
PK_FILTER_ENUM_ARCH,
PK_FILTER_ENUM_APPLICATION,
+ PK_FILTER_ENUM_NOT_COLLECTIONS,
-1);
results = pk_client_get_packages (PK_CLIENT(plugin->priv->task),
filter,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]