[gnome-software/flatpak-permissions: 3/5] app: Add a quirk for new permissions



commit 0a0d5f29447d9122f02f93acdf52a32e17e1eab7
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Dec 26 16:49:28 2018 -0500

    app: Add a quirk for new permissions
    
    This is a convenient way to get the information to the
    update page.

 lib/gs-app.h | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/lib/gs-app.h b/lib/gs-app.h
index 940a5873..1a5c2b63 100644
--- a/lib/gs-app.h
+++ b/lib/gs-app.h
@@ -98,6 +98,7 @@ typedef enum {
  * @GS_APP_QUIRK_REMOVABLE_HARDWARE:   The device is unusable whilst the action is performed
  * @GS_APP_QUIRK_DEVELOPER_VERIFIED:   The app developer has been verified
  * @GS_APP_QUIRK_PARENTAL_FILTER:      The app has been filtered by parental controls, and should be hidden
+ * @GS_APP_QUIRK_NEW_PERMISSIONS:      The update requires new permissions
  *
  * The application attributes.
  **/
@@ -116,6 +117,7 @@ typedef enum {
        GS_APP_QUIRK_REMOVABLE_HARDWARE = 1 << 10,      /* Since: 3.32 */
        GS_APP_QUIRK_DEVELOPER_VERIFIED = 1 << 11,      /* Since: 3.32 */
        GS_APP_QUIRK_PARENTAL_FILTER    = 1 << 12,      /* Since: 3.32 */
+       GS_APP_QUIRK_NEW_PERMISSIONS    = 1 << 13,
        /*< private >*/
        GS_APP_QUIRK_LAST
 } GsAppQuirk;


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