From 838f3adba7873045cd162d41c580acad34103fef Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Tue, 18 Oct 2011 21:16:25 +0000 Subject: [PATCH] 5266: Christening dates displayed as Birth dates in Family editor svn: r18350 --- src/gui/editors/editfamily.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/gui/editors/editfamily.py b/src/gui/editors/editfamily.py index c9b527acf..8a448bab9 100644 --- a/src/gui/editors/editfamily.py +++ b/src/gui/editors/editfamily.py @@ -911,15 +911,13 @@ class EditFamily(EditPrimary): if birth: #if event changes it view needs to update self.callman.register_handles({'event': [birth.get_handle()]}) - if birth and birth.get_type() == gen.lib.EventType.BAPTISM: - birth_label.set_label(_("Baptism:")) + birth_label.set_label("%s:" % birth.get_type()) death = get_death_or_fallback(db, person) if death: #if event changes it view needs to update self.callman.register_handles({'event': [death.get_handle()]}) - if death and death.get_type() == gen.lib.EventType.BURIAL: - death_label.set_label(_("Burial:")) + death_label.set_label("%s:" % death.get_type()) btn_edit.set_tooltip_text(_('Edit %s') % name) btn_index.hide()