[gnome-control-center/wip/applications: 13/17] privacy: Use the location portal permissions



commit f59bd9d43d70fee151cbe1857b3abd6ef153e2ff
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 bd42c9a9f..91f54570a 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]