[gnome-shell/gnome-40] status/location: Change permission table
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-40] status/location: Change permission table
- Date: Mon, 16 Aug 2021 00:44:55 +0000 (UTC)
commit 94bcf06f338d402f496462a21017d30a68e199ea
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>
(cherry picked from commit c6b72ccd150293308459e8f4d9d471f159451151)
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 4250ed0fe9..91a7cf66b4 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]