* src/plugins/BookReport.py (BookReportDialog.__init__): Do not

* src/plugins/FtmStyleDescendants.py (FtmDescendantReport.__init__):
* src/plugins/IndivComplete.py (IndivComplete.__init__): Likewise.
* src/plugins/IndivSummary.py (IndivSummary.__init__): Likewise.


svn: r1859
This commit is contained in:
Alex Roitman 2003-07-11 02:52:59 +00:00
parent d343ec62da
commit af7cf82183
5 changed files with 10 additions and 4 deletions

View File

@ -1,6 +1,12 @@
2003-07-10 Alex Roitman <shura@alex.neuro.umn.edu> 2003-07-10 Alex Roitman <shura@alex.neuro.umn.edu>
* src/GrampsCfg.py (GrampsPreferences.select): Conditional get_path(). * src/GrampsCfg.py (GrampsPreferences.select): Conditional get_path().
* src/Plugins.py (PluginDialog.on_node_selected): Likewise. * src/Plugins.py (PluginDialog.on_node_selected): Likewise.
* src/plugins/BookReport.py (BookReportDialog.__init__): Do not
initiale book to the empty book (was losing selected style info).
* src/plugins/FtmStyleDescendants.py (FtmDescendantReport.__init__):
Call setup() to obtain complete style information.
* src/plugins/IndivComplete.py (IndivComplete.__init__): Likewise.
* src/plugins/IndivSummary.py (IndivSummary.__init__): Likewise.
2003-07-10 Tim Waugh <twaugh@redhat.com> 2003-07-10 Tim Waugh <twaugh@redhat.com>
* src/Relationship.py: Fix '[...]teenth' relationship name typos. * src/Relationship.py: Fix '[...]teenth' relationship name typos.

View File

@ -823,11 +823,9 @@ class BookReportDialog(Report.ReportDialog):
self.book = book self.book = book
self.database = database self.database = database
self.person = person self.person = person
self.default_style = TextDoc.StyleSheet() self.default_style = TextDoc.StyleSheet()
for item in self.book.get_item_list(): for item in self.book.get_item_list():
name = item.get_name()
item = BookItem(name)
style_file = item.get_style_file() style_file = item.get_style_file()
make_default_style = item.get_make_default_style() make_default_style = item.get_make_default_style()
make_default_style(self.default_style) make_default_style(self.default_style)

View File

@ -60,7 +60,7 @@ class FtmDescendantReport(Report.Report):
self.max_generations = max self.max_generations = max
self.pgbrk = pgbrk self.pgbrk = pgbrk
self.doc = doc self.doc = doc
#self.setup() self.setup()
self.newpage = newpage self.newpage = newpage
if output: if output:
self.standalone = 1 self.standalone = 1

View File

@ -76,6 +76,7 @@ class IndivComplete(Report.Report):
self.database = database self.database = database
self.person = person self.person = person
self.output = output self.output = output
self.setup()
self.newpage = newpage self.newpage = newpage
if output: if output:
self.standalone = 1 self.standalone = 1

View File

@ -76,6 +76,7 @@ class IndivSummary(Report.Report):
self.database = database self.database = database
self.person = person self.person = person
self.output = output self.output = output
self.setup()
if output: if output:
self.standalone = 1 self.standalone = 1
self.d.open(output) self.d.open(output)