[gnome-software] flatpak: Make the runtimes look a bit prettier in the updates list



commit e7440063d45c285dace9c5b49f9ac3b0cfd59d8d
Author: Richard Hughes <richard hughsie com>
Date:   Thu Jan 12 19:43:19 2017 +0000

    flatpak: Make the runtimes look a bit prettier in the updates list
    
    We want to move this data to AppStream as soon as possible.

 src/plugins/gs-flatpak.c |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-flatpak.c b/src/plugins/gs-flatpak.c
index 5db0f49..661ca63 100644
--- a/src/plugins/gs-flatpak.c
+++ b/src/plugins/gs-flatpak.c
@@ -1989,6 +1989,20 @@ gs_flatpak_refine_app (GsFlatpak *self,
                }
        }
 
+       /* only do this until we have MetaInfo files in place */
+       if (g_strcmp0 (gs_app_get_name (app), "org.gnome.Platform") == 0) {
+               gs_app_set_name (app, GS_APP_QUALITY_NORMAL,
+                                "GNOME Application Platform");
+               gs_app_set_description (app, GS_APP_QUALITY_NORMAL,
+                                       "Shared libraries used by GNOME applications.");
+       } else if (g_strcmp0 (gs_app_get_name (app), "org.gnome.Sdk") == 0) {
+               gs_app_set_name (app, GS_APP_QUALITY_NORMAL,
+                                "GNOME Software Development Kit");
+               gs_app_set_description (app, GS_APP_QUALITY_NORMAL,
+                                       "Tools and headers for developing applications "
+                                       "using the GNOME application platform.");
+       }
+
        return TRUE;
 }
 


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