[gnome-weather] CurrentLocationController: fix desktop ID
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-weather] CurrentLocationController: fix desktop ID
- Date: Thu, 15 May 2014 21:18:32 +0000 (UTC)
commit e0e2960c20391b49d31acd270a441c149bc51252
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Wed May 14 00:01:13 2014 +0200
CurrentLocationController: fix desktop ID
src/currentLocationController.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/currentLocationController.js b/src/currentLocationController.js
index d10383d..139522c 100644
--- a/src/currentLocationController.js
+++ b/src/currentLocationController.js
@@ -88,7 +88,7 @@ const CurrentLocationController = new Lang.Class({
this._clientProxy = new ClientProxy(Gio.DBus.system,
"org.freedesktop.GeoClue2",
clientPath);
- this._clientProxy.DesktopId = "gnome-weather";
+ this._clientProxy.DesktopId = pkg.name;
this._clientProxy.RequestedAccuracyLevel = AccuracyLevel.CITY;
this._clientProxy.DistanceThreshold = 100;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]