From aae70e843f41145a980cad2a2136ea2db5f5d1a8 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Thu, 26 Jun 2003 14:30:27 +0000 Subject: [PATCH] 2003-06-26 Tim Waugh * src/plugins/Ancestors.py: Include notes for principal names. svn: r1785 --- ChangeLog | 5 +++-- src/plugins/Ancestors.py | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 10c697f04..aef82d346 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2003-06-26 Tim Waugh - * src/plugins/Ancestors.py: Briefly list children from other - marriages. Make extra table cells for other spouses. + * src/plugins/Ancestors.py: Include notes for principal names. + Briefly list children from other marriages. Make extra table + cells for other spouses. 2003-06-25 Don Allingham * src/plugins/ReadGedcom.py: removed unused variable diff --git a/src/plugins/Ancestors.py b/src/plugins/Ancestors.py index 33d193abd..8954c82e0 100644 --- a/src/plugins/Ancestors.py +++ b/src/plugins/Ancestors.py @@ -510,6 +510,9 @@ class AncestorsReport (Report.Report): return ret def inline_notes (self, person): + name_note = person.getPrimaryName ().getNote () + if not (name_note == '' or name_note.find ('\n') != -1): + return ' Note about their name: ' + name_note note = person.getNote () if not (note == '' or note.find ('\n') != -1): return ' ' + note