Bug fixes from pychecker
svn: r1333
This commit is contained in:
@ -370,6 +370,7 @@ class TimeLineDialog(Report.DrawReportDialog):
|
||||
f.set_type_face(TextDoc.FONT_SANS_SERIF)
|
||||
p = TextDoc.ParagraphStyle()
|
||||
p.set_font(f)
|
||||
para.set_description(_("The style used for the person's name."))
|
||||
self.default_style.add_style("Name",p)
|
||||
|
||||
f = TextDoc.FontStyle()
|
||||
@ -377,6 +378,7 @@ class TimeLineDialog(Report.DrawReportDialog):
|
||||
f.set_type_face(TextDoc.FONT_SANS_SERIF)
|
||||
p = TextDoc.ParagraphStyle()
|
||||
p.set_font(f)
|
||||
para.set_description(_("The style used for the year labels."))
|
||||
self.default_style.add_style("Label",p)
|
||||
|
||||
f = TextDoc.FontStyle()
|
||||
@ -384,6 +386,7 @@ class TimeLineDialog(Report.DrawReportDialog):
|
||||
f.set_type_face(TextDoc.FONT_SANS_SERIF)
|
||||
p = TextDoc.ParagraphStyle()
|
||||
p.set_font(f)
|
||||
p.set_description(_("The style used for the title of the page."))
|
||||
self.default_style.add_style("Title",p)
|
||||
|
||||
def make_report(self):
|
||||
|
Reference in New Issue
Block a user