[gnome-software] packagekit history: Only process apps managed by the packagekit plugin
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] packagekit history: Only process apps managed by the packagekit plugin
- Date: Wed, 24 Jan 2018 10:59:05 +0000 (UTC)
commit 7c0da1697123dba84515c81d46b466d1c2389d27
Author: Kalev Lember <klember redhat com>
Date: Wed Jan 24 11:54:08 2018 +0100
packagekit history: Only process apps managed by the packagekit plugin
plugins/packagekit/gs-plugin-packagekit-history.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/packagekit/gs-plugin-packagekit-history.c
b/plugins/packagekit/gs-plugin-packagekit-history.c
index 237610c..9f04140 100644
--- a/plugins/packagekit/gs-plugin-packagekit-history.c
+++ b/plugins/packagekit/gs-plugin-packagekit-history.c
@@ -248,6 +248,8 @@ gs_plugin_refine (GsPlugin *plugin,
packages = gs_app_list_new ();
for (i = 0; i < gs_app_list_length (list); i++) {
app = gs_app_list_index (list, i);
+ if (g_strcmp0 (gs_app_get_management_plugin (app), "packagekit") != 0)
+ continue;
sources = gs_app_get_sources (app);
if (sources->len == 0)
continue;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]