[gnome-software/wip/hughsie/unique-id-hash: 3/5] trivial: Do not set KIND_UNKNOWN on unavailable packages



commit d549f5c981dcfb1d749cb96c2ccdd1f6bb72fe8b
Author: Richard Hughes <richard hughsie com>
Date:   Thu Aug 25 15:53:01 2016 +0100

    trivial: Do not set KIND_UNKNOWN on unavailable packages
    
    I don't know why this plugin does that, but whatever the original goal it's not
    the right way any more.

 src/plugins/gs-plugin-packagekit-refine.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-packagekit-refine.c b/src/plugins/gs-plugin-packagekit-refine.c
index b184696..13f13e9 100644
--- a/src/plugins/gs-plugin-packagekit-refine.c
+++ b/src/plugins/gs-plugin-packagekit-refine.c
@@ -225,7 +225,6 @@ gs_plugin_packagekit_resolve_packages_app (GsPlugin *plugin,
                /* we have less packages returned than source packages */
                tmp = gs_app_to_string (app);
                g_debug ("Failed to find all packages for:\n%s", tmp);
-               gs_app_set_kind (app, AS_APP_KIND_UNKNOWN);
                gs_app_set_state (app, AS_APP_STATE_UNAVAILABLE);
        }
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]