diff --git a/src/Report.py b/src/Report.py index 391db1e39..ec95e1f29 100644 --- a/src/Report.py +++ b/src/Report.py @@ -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) #------------------------------------------------------------------------ # diff --git a/src/plugins/AncestorChart.py b/src/plugins/AncestorChart.py index 89ac232b6..1cbb76c76 100644 --- a/src/plugins/AncestorChart.py +++ b/src/plugins/AncestorChart.py @@ -246,7 +246,7 @@ class AncestorChart: #------------------------------------------------------------------------ class AncestorChartDialog(DrawReportDialog): def __init__(self,database,person): - ReportDialog.__init__(self,database,person) + DrawReportDialog.__init__(self,database,person) #------------------------------------------------------------------------ # diff --git a/src/plugins/AncestorReport.py b/src/plugins/AncestorReport.py index e721a9798..044a5d9a8 100644 --- a/src/plugins/AncestorReport.py +++ b/src/plugins/AncestorReport.py @@ -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) #------------------------------------------------------------------------ # diff --git a/src/plugins/DescendReport.py b/src/plugins/DescendReport.py index 6c1706655..603e548a8 100644 --- a/src/plugins/DescendReport.py +++ b/src/plugins/DescendReport.py @@ -131,7 +131,7 @@ class DescendantReport: #------------------------------------------------------------------------ class DescendantReportDialog(TextReportDialog): def __init__(self,person,database): - ReportDialog.__init__(self,database,person) + TextReportDialog.__init__(self,database,person) #------------------------------------------------------------------------ # diff --git a/src/plugins/DetAncestralReport.py b/src/plugins/DetAncestralReport.py index ffced7bb1..b952fe1b6 100644 --- a/src/plugins/DetAncestralReport.py +++ b/src/plugins/DetAncestralReport.py @@ -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) #------------------------------------------------------------------------ # diff --git a/src/plugins/FamilyGroup.py b/src/plugins/FamilyGroup.py index 258ca1542..830821f6b 100644 --- a/src/plugins/FamilyGroup.py +++ b/src/plugins/FamilyGroup.py @@ -326,7 +326,7 @@ class FamilyGroup: #------------------------------------------------------------------------ class FamilyGroupDialog(TextReportDialog): def __init__(self,database,person): - ReportDialog.__init__(self,database,person) + TextReportDialog.__init__(self,database,person) #------------------------------------------------------------------------ # diff --git a/src/plugins/IndivSummary.py b/src/plugins/IndivSummary.py index 9850ce8b3..56005c504 100644 --- a/src/plugins/IndivSummary.py +++ b/src/plugins/IndivSummary.py @@ -318,7 +318,7 @@ class IndivSummary: #------------------------------------------------------------------------ class IndivSummaryDialog(TextReportDialog): def __init__(self,database,person): - ReportDialog.__init__(self,database,person) + TextReportDialog.__init__(self,database,person) #------------------------------------------------------------------------ #