* src/plugins/IndivComplete.py: Put children on new lines

svn: r7981
This commit is contained in:
Brian Matherly 2007-01-25 12:54:57 +00:00
parent 2bf872a8c3
commit 76f1afe06d
2 changed files with 6 additions and 8 deletions

View File

@ -1,3 +1,6 @@
2007-01-25 Brian Matherly <brian@gramps-project.org>
* src/plugins/IndivComplete.py: Put children on new lines
2007-01-24 Don Allingham <don@gramps-project.org> 2007-01-24 Don Allingham <don@gramps-project.org>
* src/Editors/_EditSourceRef.py: remove debug statements * src/Editors/_EditSourceRef.py: remove debug statements
* src/AddMedia.py: remove debug statements * src/AddMedia.py: remove debug statements

View File

@ -360,19 +360,14 @@ class IndivCompleteReport(Report):
self.normal_cell(_("Children")) self.normal_cell(_("Children"))
self.doc.start_cell("IDS-ListCell") self.doc.start_cell("IDS-ListCell")
self.doc.start_paragraph("IDS-Normal")
first = 1
for child_ref in child_ref_list: for child_ref in child_ref_list:
if first == 1: self.doc.start_paragraph("IDS-Normal")
first = 0
else:
self.doc.write_text('\n')
child = self.database.get_person_from_handle(child_ref.ref) child = self.database.get_person_from_handle(child_ref.ref)
name = _nd.display(child) name = _nd.display(child)
mark = ReportUtils.get_person_mark(self.database,child) mark = ReportUtils.get_person_mark(self.database,child)
self.doc.write_text(name,mark) self.doc.write_text(name,mark)
self.doc.end_paragraph() self.doc.end_paragraph()
self.doc.end_cell() self.doc.end_cell()
self.doc.end_row() self.doc.end_row()
self.doc.end_table() self.doc.end_table()