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



commit 6908d05bafb3f93c701df11f1dad8ffc7ab29461
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]