From e70e4a21f239318b7f31388747d9c39e1c8ed7a5 Mon Sep 17 00:00:00 2001 From: "Zeeshan Ali (Khattak)" Date: Sat, 15 Feb 2014 13:58:06 +0000 Subject: [PATCH] location: Rename _onGeoclueAppeared to _connectToGeoclue Rename _onGeoclueAppeared to _connectToGeoclue as in the following patch we'll call it from other contexts then geoclue appearing. https://bugzilla.gnome.org/show_bug.cgi?id=723684 --- 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 793e5a0b8..bc42a4e1d 100644 --- a/js/ui/status/location.js +++ b/js/ui/status/location.js @@ -27,7 +27,7 @@ const Indicator = new Lang.Class({ this._watchId = Gio.bus_watch_name(Gio.BusType.SYSTEM, 'org.freedesktop.GeoClue2', 0, - Lang.bind(this, this._onGeoclueAppeared), + Lang.bind(this, this._connectToGeoclue), Lang.bind(this, this._onGeoclueVanished)); }, @@ -40,7 +40,7 @@ const Indicator = new Lang.Class({ this._indicator.visible = this._proxy.InUse; }, - _onGeoclueAppeared: function() { + _connectToGeoclue: function() { new GeoclueManager(Gio.DBus.system, 'org.freedesktop.GeoClue2', '/org/freedesktop/GeoClue2/Manager',