From ce2c90a534d70d124651ce0a377ad028f383dd34 Mon Sep 17 00:00:00 2001 From: "Zeeshan Ali (Khattak)" Date: Sat, 9 Aug 2014 16:03:11 +0100 Subject: [PATCH] location: Move settings to gsettings-desktop-schemas Since these settings are now going to be accessed by gnome-control-center as well, its more appropriate for them to live in gsettings-desktop-schemas. https://bugzilla.gnome.org/show_bug.cgi?id=734483 --- data/org.gnome.shell.gschema.xml.in.in | 32 -------------------------- js/ui/status/location.js | 2 +- 2 files changed, 1 insertion(+), 33 deletions(-) diff --git a/data/org.gnome.shell.gschema.xml.in.in b/data/org.gnome.shell.gschema.xml.in.in index f60772e5c..1274e989e 100644 --- a/data/org.gnome.shell.gschema.xml.in.in +++ b/data/org.gnome.shell.gschema.xml.in.in @@ -74,7 +74,6 @@ - - - - - - - - - - - true - <_summary>Geolocation services are enabled. - <_description> - If true, applications are allowed to access location information. - - - - 'exact' - <_summary>The maximum accuracy level of location. - <_description> - Configures the maximum level of location accuracy applications are - allowed to see. Valid options are 'country', 'city', 'neighborhood', - 'street', and 'exact' (typically requires GPS receiver). Please keep in - mind that this only controls what GeoClue will allow applications to see - and they can find user's location on their own using network resources - (albeit with street-level accuracy at best). - - - - diff --git a/js/ui/status/location.js b/js/ui/status/location.js index 7444ee767..052f77cc6 100644 --- a/js/ui/status/location.js +++ b/js/ui/status/location.js @@ -9,7 +9,7 @@ const PanelMenu = imports.ui.panelMenu; const PopupMenu = imports.ui.popupMenu; const Shell = imports.gi.Shell; -const LOCATION_SCHEMA = 'org.gnome.shell.location'; +const LOCATION_SCHEMA = 'org.gnome.system.location'; const MAX_ACCURACY_LEVEL = 'max-accuracy-level'; const ENABLED = 'enabled';