Fix styles in book. Switch to tuple of options.

* src/plugins/AncestorReport.py: Fix styles in book.
* src/plugins/Ancestors.py: Fix styles in book.
* src/plugins/DescendReport.py: Fix styles in book.
* src/plugins/FtmStyleAncestors.py: Fix styles in book.
* src/plugins/FtmStyleDescendants.py: Fix styles in book.
* src/plugins/IndivComplete.py: Switch to tuple of options.
* src/plugins/IndivSummary.py: Switch to tuple of options.
* src/plugins/SimpleBookTitle.py: Fix styles in book.
* src/plugins/FamilyGroup.py: Fix styles in book.
* src/plugins/DetAncestralReport.py: Fix styles in book.


svn: r1837
This commit is contained in:
Alex Roitman
2003-07-07 16:57:27 +00:00
parent 6abc6ece1b
commit c4b5ff9013
12 changed files with 52 additions and 42 deletions

@@ -856,9 +856,6 @@ class FtmAncestorBareReportDialog(Report.BareReportDialog):
self.person = person
Report.BareReportDialog.__init__(self,database,self.person)
def make_default_style(self):
_make_default_style(self.default_style)
self.max_gen = int(self.options[1])
self.pg_brk = int(self.options[2])
self.style_name = stl
@@ -874,6 +871,9 @@ class FtmAncestorBareReportDialog(Report.BareReportDialog):
# Customization hooks
#
#------------------------------------------------------------------------
def make_default_style(self):
_make_default_style(self.default_style)
def get_title(self):
"""The window title for this dialog"""
return "%s - GRAMPS Book" % (_("FTM Style Ancestor Report"))
@@ -899,7 +899,7 @@ class FtmAncestorBareReportDialog(Report.BareReportDialog):
if self.new_person:
self.person = self.new_person
self.options = [ self.person.getId(), self.max_gen, self.pg_brk ]
self.options = ( self.person.getId(), self.max_gen, self.pg_brk )
self.style_name = self.selected_style.get_name()