[gnome-software/gnome-3-26] 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/gnome-3-26] packagekit history: Only process apps	managed by the packagekit plugin
 
- Date: Thu,  8 Feb 2018 11:52:34 +0000 (UTC)
 
commit 42d6a24ad62e3e06ab140e6611bb39c50adab08c
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 file changed, 2 insertions(+)
---
diff --git a/plugins/packagekit/gs-plugin-packagekit-history.c 
b/plugins/packagekit/gs-plugin-packagekit-history.c
index 237610c2..9f04140b 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]