From 66d296e9e3db190dba8c20714ef10bfa25f2e0ac Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Thu, 25 Jan 2007 12:54:57 +0000 Subject: [PATCH] * src/plugins/IndivComplete.py: Put children on new lines svn: r7981 --- gramps2/ChangeLog | 3 +++ gramps2/src/plugins/IndivComplete.py | 11 +++-------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index e1e0ccea9..1a08e2a3f 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2007-01-25 Brian Matherly + * src/plugins/IndivComplete.py: Put children on new lines + 2007-01-24 Don Allingham * src/Editors/_EditSourceRef.py: remove debug statements * src/AddMedia.py: remove debug statements diff --git a/gramps2/src/plugins/IndivComplete.py b/gramps2/src/plugins/IndivComplete.py index 8ffe9792a..cf453708f 100644 --- a/gramps2/src/plugins/IndivComplete.py +++ b/gramps2/src/plugins/IndivComplete.py @@ -360,19 +360,14 @@ class IndivCompleteReport(Report): self.normal_cell(_("Children")) self.doc.start_cell("IDS-ListCell") - self.doc.start_paragraph("IDS-Normal") - - first = 1 + for child_ref in child_ref_list: - if first == 1: - first = 0 - else: - self.doc.write_text('\n') + self.doc.start_paragraph("IDS-Normal") child = self.database.get_person_from_handle(child_ref.ref) name = _nd.display(child) mark = ReportUtils.get_person_mark(self.database,child) self.doc.write_text(name,mark) - self.doc.end_paragraph() + self.doc.end_paragraph() self.doc.end_cell() self.doc.end_row() self.doc.end_table()