[gnome-software] GsApp: Add recently added quirks to gs_app_quirk_to_string



commit bc561b63748bc6d62841a392903974703f59cea7
Author: Kalev Lember <klember redhat com>
Date:   Fri Apr 19 07:14:02 2019 +0200

    GsApp: Add recently added quirks to gs_app_quirk_to_string

 lib/gs-app.c | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/lib/gs-app.c b/lib/gs-app.c
index 17a54673..d5a30927 100644
--- a/lib/gs-app.c
+++ b/lib/gs-app.c
@@ -235,6 +235,14 @@ _as_app_quirk_flag_to_string (GsAppQuirk quirk)
                return "is-proxy";
        if (quirk == GS_APP_QUIRK_REMOVABLE_HARDWARE)
                return "removable-hardware";
+       if (quirk == GS_APP_QUIRK_DEVELOPER_VERIFIED)
+               return "developer-verified";
+       if (quirk == GS_APP_QUIRK_PARENTAL_FILTER)
+               return "parental-filter";
+       if (quirk == GS_APP_QUIRK_NEW_PERMISSIONS)
+               return "new-permissions";
+       if (quirk == GS_APP_QUIRK_PARENTAL_NOT_LAUNCHABLE)
+               return "parental-not-launchable";
        return NULL;
 }
 


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