Tweak the report classes init calls.
svn: r659
This commit is contained in:
parent
df8d4f987a
commit
3cf25bceb7
@ -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)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -246,7 +246,7 @@ class AncestorChart:
|
||||
#------------------------------------------------------------------------
|
||||
class AncestorChartDialog(DrawReportDialog):
|
||||
def __init__(self,database,person):
|
||||
ReportDialog.__init__(self,database,person)
|
||||
DrawReportDialog.__init__(self,database,person)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -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)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -131,7 +131,7 @@ class DescendantReport:
|
||||
#------------------------------------------------------------------------
|
||||
class DescendantReportDialog(TextReportDialog):
|
||||
def __init__(self,person,database):
|
||||
ReportDialog.__init__(self,database,person)
|
||||
TextReportDialog.__init__(self,database,person)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -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)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -326,7 +326,7 @@ class FamilyGroup:
|
||||
#------------------------------------------------------------------------
|
||||
class FamilyGroupDialog(TextReportDialog):
|
||||
def __init__(self,database,person):
|
||||
ReportDialog.__init__(self,database,person)
|
||||
TextReportDialog.__init__(self,database,person)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -318,7 +318,7 @@ class IndivSummary:
|
||||
#------------------------------------------------------------------------
|
||||
class IndivSummaryDialog(TextReportDialog):
|
||||
def __init__(self,database,person):
|
||||
ReportDialog.__init__(self,database,person)
|
||||
TextReportDialog.__init__(self,database,person)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user