[gnome-maps] Convert non failure log() to Utils.debug()
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] Convert non failure log() to Utils.debug()
- Date: Tue, 20 Aug 2013 12:05:10 +0000 (UTC)
commit cb53d818b10af178058cc74730d72e02645150e4
Author: Jonas Danielsson <jonas threetimestwo org>
Date: Tue Aug 20 13:07:01 2013 +0200
Convert non failure log() to Utils.debug()
https://bugzilla.gnome.org/show_bug.cgi?id=706379
src/geoclue.js | 2 +-
src/mapLocation.js | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/geoclue.js b/src/geoclue.js
index 8c79b19..622a3a9 100644
--- a/src/geoclue.js
+++ b/src/geoclue.js
@@ -127,7 +127,7 @@ const Geoclue = new Lang.Class({
Application.settings.set_string('last-location-description', this.location.description);
this.emit('location-changed');
- log("Found location: " + this.location.description);
+ Utils.debug("Found location: " + this.location.description);
} catch (e) {
log("Failed to find your location: " + e);
}
diff --git a/src/mapLocation.js b/src/mapLocation.js
index 16f234b..f4b9eee 100644
--- a/src/mapLocation.js
+++ b/src/mapLocation.js
@@ -49,7 +49,7 @@ const MapLocation = new Lang.Class({
// with an animation
// TODO: break this out somewhere, this is useful in other cases as well.
goTo: function(animate) {
- log("Going to " + this.description);
+ Utils.debug("Going to " + this.description);
if (!animate) {
this._view.center_on(this.latitude, this.longitude);
@@ -83,7 +83,7 @@ const MapLocation = new Lang.Class({
let marker = new Champlain.Label({ text: this.description });
marker.set_location(this.latitude, this.longitude);
layer.add_marker(marker);
- log("Added marker at " + this.latitude + ", " + this.longitude);
+ Utils.debug("Added marker at " + this.latitude + ", " + this.longitude);
},
showNGoTo: function(animate, layer) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]