From 9a2de4c4eec8e6df44ce6f5df65f46482af067bf Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Fri, 31 Oct 2003 01:23:16 +0000 Subject: [PATCH] * src/plugins/WebPage.py: support for keeping track of options * src/plugins/TimeLine.py: support for keeping track of options * src/plugins/RelGraph.py: support for keeping track of options * src/plugins/IndivSummary.py: support for keeping track of options * src/plugins/IndivComplete.py: support for keeping track of options * src/plugins/GraphViz.py: support for keeping track of options * src/plugins/FtmStyleDescendants.py: support for keeping track of options * src/plugins/FtmStyleAncestors.py: support for keeping track of options * src/plugins/FanChart.py: support for keeping track of options * src/plugins/FamilyGroup.py: support for keeping track of options * src/plugins/DetAncestralReport.py: support for keeping track of options * src/plugins/Ancestors.py: support for keeping track of options * src/plugins/AncestorReport.py: support for keeping track of options * src/plugins/AncestorChart.py: support for keeping track of options * src/plugins/AncestorChart.py: support for keeping track of options * src/Utils.py: save key on style mappings svn: r2296 --- gramps2/src/plugins/FamilyGroup.py | 5 ++++- gramps2/src/plugins/FanChart.py | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/gramps2/src/plugins/FamilyGroup.py b/gramps2/src/plugins/FamilyGroup.py index 153952ff3..b00cbdf22 100644 --- a/gramps2/src/plugins/FamilyGroup.py +++ b/gramps2/src/plugins/FamilyGroup.py @@ -349,8 +349,11 @@ class FamilyGroup: # #------------------------------------------------------------------------ class FamilyGroupDialog(Report.TextReportDialog): + + report_options = {} + def __init__(self,database,person): - Report.TextReportDialog.__init__(self,database,person) + Report.TextReportDialog.__init__(self,database,person,self.report_options) def get_title(self): """The window title for this dialog""" diff --git a/gramps2/src/plugins/FanChart.py b/gramps2/src/plugins/FanChart.py index db5b0e1db..61e699a3b 100644 --- a/gramps2/src/plugins/FanChart.py +++ b/gramps2/src/plugins/FanChart.py @@ -299,9 +299,11 @@ def _make_default_style(default_style): # #------------------------------------------------------------------------ class FanChartDialog(Report.DrawReportDialog): + + report_options = {} def __init__(self,database,person): - Report.DrawReportDialog.__init__(self,database,person) + Report.DrawReportDialog.__init__(self,database,person,self.report_options) def get_title(self): """The window title for this dialog""" @@ -381,9 +383,7 @@ class FanChartBareDialog(Report.BareReportDialog): self.style_name = stl Report.BareReportDialog.__init__(self,database,self.person) - self.new_person = None - self.window.run() #------------------------------------------------------------------------