* 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 a51603cde0
commit 66d296e9e3
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>
* src/Editors/_EditSourceRef.py: remove debug statements
* src/AddMedia.py: remove debug statements

View File

@ -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()