[gnome-software] Do not filter applications from the plugin loader with no icon



commit 5b76f892e8f9d06dd9c52edc5f3485fdc07b0e38
Author: Richard Hughes <richard hughsie com>
Date:   Thu Sep 27 19:10:54 2018 +0100

    Do not filter applications from the plugin loader with no icon
    
    In some cases we don't need an icon, and so it seems slightly crazy to request
    REFINE_FLAGS_ICON just to include the app.

 lib/gs-plugin-loader.c | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/lib/gs-plugin-loader.c b/lib/gs-plugin-loader.c
index 825f4add..e745e1dc 100644
--- a/lib/gs-plugin-loader.c
+++ b/lib/gs-plugin-loader.c
@@ -1293,12 +1293,6 @@ gs_plugin_loader_app_is_valid (GsApp *app, gpointer user_data)
                         gs_plugin_loader_get_app_str (app));
                return FALSE;
        }
-       if (gs_app_get_kind (app) == AS_APP_KIND_DESKTOP &&
-           gs_app_get_pixbuf (app) == NULL) {
-               g_debug ("app invalid as no pixbuf %s",
-                        gs_plugin_loader_get_app_str (app));
-               return FALSE;
-       }
 
        /* ignore this crazy application */
        if (g_strcmp0 (gs_app_get_id (app), "gnome-system-monitor-kde.desktop") == 0) {


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