[gnome-maps] mapView: Don't misuse UserLocation class
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] mapView: Don't misuse UserLocation class
- Date: Mon, 15 Apr 2013 01:30:37 +0000 (UTC)
commit 0834f5f89631d64bac8e6baf26d8dfd56a6f2c17
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Mon Apr 15 04:21:27 2013 +0300
mapView: Don't misuse UserLocation class
The base MapLocation is more appropriate for non-user/searched location.
src/mapView.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/mapView.js b/src/mapView.js
index cf17810..eb81d11 100644
--- a/src/mapView.js
+++ b/src/mapView.js
@@ -91,7 +91,7 @@ const MapView = new Lang.Class({
let mapLocations = new Array();
locations.forEach(Lang.bind(this,
function(location) {
- let mapLocation = new UserLocation.UserLocation(location, this);
+ let mapLocation = new MapLocation.MapLocation(location, this);
mapLocations.push(mapLocation);
}));
this._showLocations(mapLocations);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]