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

View File

@@ -139,9 +139,6 @@ class SimpleBookTitleDialog(Report.BareReportDialog):
self.person = person
Report.BareReportDialog.__init__(self,database,self.person)
def make_default_style(self):
_make_default_style(self.default_style)
if self.options[1]:
self.title_string = self.options[1]
else:
@@ -168,6 +165,9 @@ class SimpleBookTitleDialog(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" % (_("Simple Book Title"))
@@ -218,7 +218,7 @@ class SimpleBookTitleDialog(Report.BareReportDialog):
if self.new_person:
self.person = self.new_person
self.options = [ self.person.getId() , self.title_string, self.copyright_string ]
self.options = ( self.person.getId() , self.title_string, self.copyright_string )
self.style_name = self.selected_style.get_name()