From fb8dae4515b872425833633192fe1dff34ced7ff Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Sat, 21 Oct 2006 03:56:13 +0000 Subject: [PATCH] 2006-10-20 Benny Malengier * src/DataViews/_PlaceView.py: Fix lattitude/longitude typo. * src/glade/gramps.glade: Swap the order of latt/long in UI. svn: r7420 --- ChangeLog | 4 ++++ src/DataViews/_PlaceView.py | 2 +- src/glade/gramps.glade | 12 ++++++------ 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index d4e7f1670..359185667 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-10-20 Benny Malengier + * src/DataViews/_PlaceView.py: Fix lattitude/longitude typo. + * src/glade/gramps.glade: Swap the order of latt/long in UI. + 2006-10-20 Alex Roitman * src/plugins/rel_pl.py: Typo. diff --git a/src/DataViews/_PlaceView.py b/src/DataViews/_PlaceView.py index 6a1ddc3d7..b439a3480 100644 --- a/src/DataViews/_PlaceView.py +++ b/src/DataViews/_PlaceView.py @@ -143,7 +143,7 @@ class PlaceView(PageView.ListView): latitude = place.get_latitude() if longitude and latitude: - path = "http://maps.google.com/?sll=%s,%s" % (longitude, latitude) + path = "http://maps.google.com/?sll=%s,%s&z=15" % (latitude,longitude) else: path = "http://maps.google.com/maps?q=%s" % '+'.join(descr.split()) GrampsDisplay.url(path) diff --git a/src/glade/gramps.glade b/src/glade/gramps.glade index 53748300a..b42a533b0 100644 --- a/src/glade/gramps.glade +++ b/src/glade/gramps.glade @@ -1666,7 +1666,7 @@ True - _Longitude: + L_atitude: True False GTK_JUSTIFY_CENTER @@ -1676,7 +1676,7 @@ 0.5 0 0 - longitude + latitude PANGO_ELLIPSIZE_NONE -1 False @@ -1693,7 +1693,7 @@ - + True True True @@ -1716,7 +1716,7 @@ True - L_atitude: + _Longitude: True False GTK_JUSTIFY_CENTER @@ -1726,7 +1726,7 @@ 0.5 0 0 - latitude + longitude PANGO_ELLIPSIZE_NONE -1 False @@ -1743,7 +1743,7 @@ - + True True True