[gnome-shell] status/location: Change permission table



commit c6b72ccd150293308459e8f4d9d471f159451151
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Aug 11 22:54:39 2021 +0200

    status/location: Change permission table
    
    There is now a location portal that provides a similar role
    as our agent. Settings supports that portal in its application
    panel, which allows users to revisit their choice later.
    
    Unfortunately it uses a different permission store table, so
    any permissions granted (or denied) through our agent won't
    show up there.
    
    To change that, switch to the same table as the portal/Settings.
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1945>

 js/ui/status/location.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/status/location.js b/js/ui/status/location.js
index 1d2658c707..7e0222b72c 100644
--- a/js/ui/status/location.js
+++ b/js/ui/status/location.js
@@ -16,8 +16,8 @@ const LOCATION_SCHEMA = 'org.gnome.system.location';
 const MAX_ACCURACY_LEVEL = 'max-accuracy-level';
 const ENABLED = 'enabled';
 
-const APP_PERMISSIONS_TABLE = 'gnome';
-const APP_PERMISSIONS_ID = 'geolocation';
+const APP_PERMISSIONS_TABLE = 'location';
+const APP_PERMISSIONS_ID = 'location';
 
 var GeoclueAccuracyLevel = {
     NONE: 0,


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