[gnome-initial-setup/shell/4765: 82/362] location: use DesktopId when making requests to Geoclue
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup/shell/4765: 82/362] location: use DesktopId when making requests to Geoclue
- Date: Thu, 19 Mar 2015 01:27:57 +0000 (UTC)
commit 961ab81e63604499d82d26574209742ff1fdcda2
Author: Cosimo Cecchi <cosimo endlessm com>
Date: Fri Jul 11 18:36:43 2014 -0700
location: use DesktopId when making requests to Geoclue
Geoclue recently started mandating a desktop ID whitelist for
applications allowed to use geolocation. Set it in code, so that we can
retrieve the timezone automatically.
[endlessm/eos-shell#3022]
.../pages/location/cc-timezone-monitor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-initial-setup/pages/location/cc-timezone-monitor.c
b/gnome-initial-setup/pages/location/cc-timezone-monitor.c
index 7f3d9b2..35b056e 100644
--- a/gnome-initial-setup/pages/location/cc-timezone-monitor.c
+++ b/gnome-initial-setup/pages/location/cc-timezone-monitor.c
@@ -302,7 +302,7 @@ on_client_proxy_ready (GObject *source_object,
priv = GET_PRIVATE (self);
priv->geoclue_client = client;
- //geoclue_client_set_desktop_id (priv->geoclue_client, DESKTOP_ID);
+ geoclue_client_set_desktop_id (priv->geoclue_client, DESKTOP_ID);
geoclue_client_set_distance_threshold (priv->geoclue_client,
GEOCODE_LOCATION_ACCURACY_CITY);
//geoclue_client_set_requested_accuracy_level (priv->geoclue_client,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]