2006-10-20 Benny Malengier <bm@cage.UGent.be>

* src/DataViews/_PlaceView.py: Fix lattitude/longitude typo.
	* src/glade/gramps.glade: Swap the order of latt/long in UI.



svn: r7420
This commit is contained in:
Alex Roitman 2006-10-21 03:56:13 +00:00
parent cf1cfce7be
commit fb8dae4515
3 changed files with 11 additions and 7 deletions

View File

@ -1,3 +1,7 @@
2006-10-20 Benny Malengier <bm@cage.UGent.be>
* 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 <shura@gramps-project.org> 2006-10-20 Alex Roitman <shura@gramps-project.org>
* src/plugins/rel_pl.py: Typo. * src/plugins/rel_pl.py: Typo.

View File

@ -143,7 +143,7 @@ class PlaceView(PageView.ListView):
latitude = place.get_latitude() latitude = place.get_latitude()
if longitude and 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: else:
path = "http://maps.google.com/maps?q=%s" % '+'.join(descr.split()) path = "http://maps.google.com/maps?q=%s" % '+'.join(descr.split())
GrampsDisplay.url(path) GrampsDisplay.url(path)

View File

@ -1666,7 +1666,7 @@
<child> <child>
<widget class="GtkLabel" id="label249"> <widget class="GtkLabel" id="label249">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">_Longitude:</property> <property name="label" translatable="yes">L_atitude:</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="use_markup">False</property> <property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_CENTER</property> <property name="justify">GTK_JUSTIFY_CENTER</property>
@ -1676,7 +1676,7 @@
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xpad">0</property> <property name="xpad">0</property>
<property name="ypad">0</property> <property name="ypad">0</property>
<property name="mnemonic_widget">longitude</property> <property name="mnemonic_widget">latitude</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property> <property name="width_chars">-1</property>
<property name="single_line_mode">False</property> <property name="single_line_mode">False</property>
@ -1693,7 +1693,7 @@
</child> </child>
<child> <child>
<widget class="GtkEntry" id="longitude"> <widget class="GtkEntry" id="latitude">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="editable">True</property> <property name="editable">True</property>
@ -1716,7 +1716,7 @@
<child> <child>
<widget class="GtkLabel" id="label250"> <widget class="GtkLabel" id="label250">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">L_atitude:</property> <property name="label" translatable="yes">_Longitude:</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="use_markup">False</property> <property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_CENTER</property> <property name="justify">GTK_JUSTIFY_CENTER</property>
@ -1726,7 +1726,7 @@
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xpad">0</property> <property name="xpad">0</property>
<property name="ypad">0</property> <property name="ypad">0</property>
<property name="mnemonic_widget">latitude</property> <property name="mnemonic_widget">longitude</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property> <property name="width_chars">-1</property>
<property name="single_line_mode">False</property> <property name="single_line_mode">False</property>
@ -1743,7 +1743,7 @@
</child> </child>
<child> <child>
<widget class="GtkEntry" id="latitude"> <widget class="GtkEntry" id="longitude">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="editable">True</property> <property name="editable">True</property>