From 68dfd261cb97d3dadd835cbbac0df91725b5d8c5 Mon Sep 17 00:00:00 2001 From: Serge Noiraud Date: Thu, 24 Sep 2009 12:12:03 +0000 Subject: [PATCH] GeoView : some cleaning and add the marriage icon. svn: r13242 --- src/DataViews/GeoView.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DataViews/GeoView.py b/src/DataViews/GeoView.py index 519f19afd..cc23cc8ff 100644 --- a/src/DataViews/GeoView.py +++ b/src/DataViews/GeoView.py @@ -67,6 +67,7 @@ from PlaceUtils import conv_lat_lon _icons = { gen.lib.EventType.BIRTH : 'gramps-geo-birth', gen.lib.EventType.DEATH : 'gramps-geo-death', + gen.lib.EventType.MARRIAGE : 'gramps-geo-marriage', } #------------------------------------------------------------------------- @@ -1055,7 +1056,7 @@ class GeoView(HtmlView): self.mapview.write("id='info' ") # perhaps we need css in the futur ... self.mapview.write("style='white-space:nowrap;") - self.mapview.write("overflow:auto;width:105%%;") + self.mapview.write("overflow:auto;width:105%;") self.mapview.write("font-size:10pt;") divsize = self.height/5 if divsize < 150: @@ -1353,7 +1354,6 @@ class GeoView(HtmlView): handle = fam.get_mother_handle() mother = dbstate.db.get_person_from_handle(handle) if mother: - comment = _("Id : Mother : %s") % mother.gramps_id comment = _("Id : Mother : %s : %s") % ( mother.gramps_id, _nd.display(mother) )