Bug fixes from pychecker
svn: r1333
This commit is contained in:
@@ -335,7 +335,7 @@ class IndivComplete:
|
||||
self.d.end_cell()
|
||||
|
||||
def write_report(self):
|
||||
ind_list = self.filter.apply(seld.database,self.database.getPersonMap().values())
|
||||
ind_list = self.filter.apply(self.database,self.database.getPersonMap().values())
|
||||
count = 0
|
||||
for self.person in ind_list:
|
||||
self.write_person(count)
|
||||
@@ -499,6 +499,7 @@ class IndivSummaryDialog(Report.TextReportDialog):
|
||||
p = TextDoc.ParagraphStyle()
|
||||
p.set_alignment(TextDoc.PARA_ALIGN_CENTER)
|
||||
p.set_font(font)
|
||||
p.set_description(_("The style used for the title of the page."))
|
||||
self.default_style.add_style("Title",p)
|
||||
|
||||
font = TextDoc.FontStyle()
|
||||
@@ -508,6 +509,7 @@ class IndivSummaryDialog(Report.TextReportDialog):
|
||||
font.set_italic(1)
|
||||
p = TextDoc.ParagraphStyle()
|
||||
p.set_font(font)
|
||||
p.set_description(_("The style used category labels."))
|
||||
self.default_style.add_style("TableTitle",p)
|
||||
|
||||
font = TextDoc.FontStyle()
|
||||
@@ -516,12 +518,14 @@ class IndivSummaryDialog(Report.TextReportDialog):
|
||||
font.set_size(12)
|
||||
p = TextDoc.ParagraphStyle()
|
||||
p.set_font(font)
|
||||
p.set_description(_("The style used for the spouse's name."))
|
||||
self.default_style.add_style("Spouse",p)
|
||||
|
||||
font = TextDoc.FontStyle()
|
||||
font.set_size(12)
|
||||
p = TextDoc.ParagraphStyle()
|
||||
p.set_font(font)
|
||||
para.set_description(_('The basic style used for the text display.'))
|
||||
self.default_style.add_style("Normal",p)
|
||||
|
||||
def setup_report_options(self):
|
||||
|
||||
Reference in New Issue
Block a user