[gnome-software] Do not limit the DesktopDb refine to packages



commit 19f1fdc5a84bf949b188142929912b201688688b
Author: Richard Hughes <richard hughsie com>
Date:   Mon Sep 2 10:33:57 2013 +0100

    Do not limit the DesktopDb refine to packages

 src/plugins/gs-plugin-desktopdb.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/gs-plugin-desktopdb.c b/src/plugins/gs-plugin-desktopdb.c
index ec80c3c..2ed6bf3 100644
--- a/src/plugins/gs-plugin-desktopdb.c
+++ b/src/plugins/gs-plugin-desktopdb.c
@@ -174,8 +174,6 @@ gs_plugin_refine (GsPlugin *plugin,
        /* can we convert a package to an application */
        for (l = list; l != NULL; l = l->next) {
                app = GS_APP (l->data);
-               if (gs_app_get_kind (app) != GS_APP_KIND_PACKAGE)
-                       continue;
                if (gs_app_get_metadata_item (app, "datadir-desktop-filename") != NULL)
                        continue;
                pkgname = gs_app_get_metadata_item (app, "package-name");


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