* src/BaseDoc.py:
* src/docgen/PSDrawDoc.py: * src/docgen/SvgDrawDoc.py: * src/docgen/PdfDoc.py: * src/docgen/OpenOfficeDoc.py: * src/docgen/GtkPrint.py: * src/docgen/LPRDoc.py: * src/docgen/ODFDoc.py: * src/plugins/StatisticsChart.py: * src/plugins/Calendar.py: * src/ReportBase/_ReportUtils.py: Remove draw_bar function svn: r8254
This commit is contained in:
@ -199,7 +199,7 @@ class Calendar(Report):
|
||||
height = self.doc.get_usable_height()
|
||||
header = 2.54 # one inch
|
||||
self.draw_rectangle("CAL-Border", 0, 0, width, height)
|
||||
self.doc.draw_bar("CAL-Title", 0, 0, width, header)
|
||||
self.doc.draw_box("CAL-Title", "", 0, 0, width, header)
|
||||
self.doc.draw_line("CAL-Border", 0, header, width, header)
|
||||
year = self["year"]
|
||||
title = "%s %d" % (GrampsLocale.long_months[month], year)
|
||||
|
Reference in New Issue
Block a user