Tweak the report classes init calls.

svn: r659
This commit is contained in:
David Hampton 2001-12-23 22:58:19 +00:00
parent df8d4f987a
commit 3cf25bceb7
7 changed files with 9 additions and 9 deletions

View File

@ -657,7 +657,7 @@ class ReportDialog:
#
#------------------------------------------------------------------------
class TextReportDialog(ReportDialog):
def __init__(self,database,person,filename):
def __init__(self,database,person,filename="basicreport.glade"):
"""Initialize a dialog to request that the user select options
for a basic text report. See the ReportDialog class for more
information."""
@ -715,11 +715,11 @@ class TextReportDialog(ReportDialog):
#
#------------------------------------------------------------------------
class DrawReportDialog(ReportDialog):
def __init__(self,database,person,filename):
def __init__(self,database,person,filename="basicreport.glade"):
"""Initialize a dialog to request that the user select options
for a basic drawing report. See the ReportDialog class for
more information."""
ReportDialog.__init__self,database,person,filename()
ReportDialog.__init__(self,database,person,filename)
#------------------------------------------------------------------------
#

View File

@ -246,7 +246,7 @@ class AncestorChart:
#------------------------------------------------------------------------
class AncestorChartDialog(DrawReportDialog):
def __init__(self,database,person):
ReportDialog.__init__(self,database,person)
DrawReportDialog.__init__(self,database,person)
#------------------------------------------------------------------------
#

View File

@ -226,7 +226,7 @@ class AncestorReport(Report):
#------------------------------------------------------------------------
class AncestorReportDialog(TextReportDialog):
def __init__(self,database,person):
ReportDialog.__init__(self,database,person)
TextReportDialog.__init__(self,database,person)
#------------------------------------------------------------------------
#

View File

@ -131,7 +131,7 @@ class DescendantReport:
#------------------------------------------------------------------------
class DescendantReportDialog(TextReportDialog):
def __init__(self,person,database):
ReportDialog.__init__(self,database,person)
TextReportDialog.__init__(self,database,person)
#------------------------------------------------------------------------
#

View File

@ -442,7 +442,7 @@ class DetAncestorReport(Report):
#------------------------------------------------------------------------
class DetAncestorReportDialog(TextReportDialog):
def __init__(self,database,person):
ReportDialog.__init__(self,database,person)
TextReportDialog.__init__(self,database,person)
#------------------------------------------------------------------------
#

View File

@ -326,7 +326,7 @@ class FamilyGroup:
#------------------------------------------------------------------------
class FamilyGroupDialog(TextReportDialog):
def __init__(self,database,person):
ReportDialog.__init__(self,database,person)
TextReportDialog.__init__(self,database,person)
#------------------------------------------------------------------------
#

View File

@ -318,7 +318,7 @@ class IndivSummary:
#------------------------------------------------------------------------
class IndivSummaryDialog(TextReportDialog):
def __init__(self,database,person):
ReportDialog.__init__(self,database,person)
TextReportDialog.__init__(self,database,person)
#------------------------------------------------------------------------
#