[gnome-control-center/wip/privacy-swarm: 4/14] privacy: Use the location portal permissions



commit c80af2c1c84282d43f034665ef4c8088841f3cd0
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Dec 9 18:33:52 2018 -0500

    privacy: Use the location portal permissions
    
    The location support in flatpak is changing with the
    next releases of geoclue and xdg-desktop-portal, and
    the permission table is changing as well. Adapt to these
    changes.
    
    This may need some version check, or migration.

 panels/privacy/cc-privacy-panel.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/panels/privacy/cc-privacy-panel.c b/panels/privacy/cc-privacy-panel.c
index e15cc850f..5a026e55c 100644
--- a/panels/privacy/cc-privacy-panel.c
+++ b/panels/privacy/cc-privacy-panel.c
@@ -35,8 +35,8 @@
 #define REPORT_TECHNICAL_PROBLEMS "report-technical-problems"
 #define LOCATION_ENABLED "enabled"
 
-#define APP_PERMISSIONS_TABLE "gnome"
-#define APP_PERMISSIONS_ID "geolocation"
+#define APP_PERMISSIONS_TABLE "location"
+#define APP_PERMISSIONS_ID "location"
 
 struct _CcPrivacyPanel
 {


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