[gnome-software] flatpak: Set a description even without appstream data



commit a48c18d7e7bcfe15abeb41a612bb75823f5bd0c4
Author: Matthew Leeds <matthew leeds endlessm com>
Date:   Thu Jan 23 13:12:37 2020 -0800

    flatpak: Set a description even without appstream data
    
    Otherwise the app may be filtered out by
    gs_installed_page_is_actual_app().

 plugins/flatpak/gs-flatpak.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/plugins/flatpak/gs-flatpak.c b/plugins/flatpak/gs-flatpak.c
index 1f3ccdff..f2d290c1 100644
--- a/plugins/flatpak/gs-flatpak.c
+++ b/plugins/flatpak/gs-flatpak.c
@@ -2726,6 +2726,7 @@ gs_flatpak_file_to_app_bundle (GsFlatpak *self,
                                 gs_flatpak_app_get_ref_name (app));
                gs_app_set_summary (app, GS_APP_QUALITY_LOWEST,
                                    "A flatpak application");
+               gs_app_set_description (app, GS_APP_QUALITY_LOWEST, "");
        }
 
        /* load icon */


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