[gnome-shell] location: Rename _onGeoclueAppeared to _connectToGeoclue
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] location: Rename _onGeoclueAppeared to _connectToGeoclue
- Date: Sat, 15 Feb 2014 17:41:03 +0000 (UTC)
commit e70e4a21f239318b7f31388747d9c39e1c8ed7a5
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Sat Feb 15 13:58:06 2014 +0000
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 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/status/location.js b/js/ui/status/location.js
index 793e5a0..bc42a4e 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',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]