[gnome-software] packagekit: Filter development repos in addition to source and not supported
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] packagekit: Filter development repos in addition to source and not supported
- Date: Sat, 3 Mar 2018 17:57:33 +0000 (UTC)
commit 45f1a5601101ae318d60819838ab70e6e77b8dc3
Author: Kalev Lember <klember redhat com>
Date: Sat Mar 3 17:14:39 2018 +0100
packagekit: Filter development repos in addition to source and not supported
... so that -debuginfo repos don't show up in the repos dialog.
plugins/packagekit/gs-plugin-packagekit.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/plugins/packagekit/gs-plugin-packagekit.c b/plugins/packagekit/gs-plugin-packagekit.c
index f10f8dc9..bfd63ea9 100644
--- a/plugins/packagekit/gs-plugin-packagekit.c
+++ b/plugins/packagekit/gs-plugin-packagekit.c
@@ -145,6 +145,7 @@ gs_plugin_add_sources (GsPlugin *plugin,
/* ask PK for the repo details */
filter = pk_bitfield_from_enums (PK_FILTER_ENUM_NOT_SOURCE,
+ PK_FILTER_ENUM_NOT_DEVELOPMENT,
PK_FILTER_ENUM_NOT_SUPPORTED,
-1);
results = pk_client_get_repo_list (PK_CLIENT(priv->task),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]