* src/plugins/BookReport.py: Make a list of options from a tuple.
* src/plugins/AncestorReport.py: Register options as a tuple. * src/plugins/Ancestors.py: Register options as a tuple. * src/plugins/DescendReport.py: Register options as a tuple. * src/plugins/FtmStyleAncestors.py: Register options as a tuple. * src/plugins/FtmStyleDescendants.py: Register options as a tuple. * src/plugins/IndivComplete.py: Register options as a tuple. * src/plugins/IndivSummary.py: Register options as a tuple. * src/plugins/SimpleBookTitle.py: Register options as a tuple. svn: r1829
This commit is contained in:
parent
76e9b6daec
commit
45bf59b7a8
11
ChangeLog
11
ChangeLog
@ -1,3 +1,14 @@
|
||||
2003-07-06 Alex Roitman <shura@alex.neuro.umn.edu>
|
||||
* src/plugins/BookReport.py: Make a list of options from a tuple.
|
||||
* src/plugins/AncestorReport.py: Register options as a tuple.
|
||||
* src/plugins/Ancestors.py: Register options as a tuple.
|
||||
* src/plugins/DescendReport.py: Register options as a tuple.
|
||||
* src/plugins/FtmStyleAncestors.py: Register options as a tuple.
|
||||
* src/plugins/FtmStyleDescendants.py: Register options as a tuple.
|
||||
* src/plugins/IndivComplete.py: Register options as a tuple.
|
||||
* src/plugins/IndivSummary.py: Register options as a tuple.
|
||||
* src/plugins/SimpleBookTitle.py: Register options as a tuple.
|
||||
|
||||
2003-07-05 Don Allingham <dallingham@users.sourceforge.net>
|
||||
* src/ImageSelect.py: eliminate recursive error loop when a thumbnail
|
||||
cannot be created.
|
||||
|
@ -290,7 +290,7 @@ _style_name = "default"
|
||||
_person_id = ""
|
||||
_max_gen = 10
|
||||
_pg_brk = 0
|
||||
_options = [ _person_id, _max_gen, _pg_brk ]
|
||||
_options = ( _person_id, _max_gen, _pg_brk )
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -754,7 +754,7 @@ _max_gen = 10
|
||||
_pg_brk = 0
|
||||
_opt_cite = gtk.TRUE
|
||||
|
||||
_options = [ _person_id, _max_gen, _pg_brk, _opt_cite ]
|
||||
_options = ( _person_id, _max_gen, _pg_brk, _opt_cite )
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -90,16 +90,10 @@ class BookItem:
|
||||
from the book item registry using name for lookup
|
||||
"""
|
||||
|
||||
self.name = ""
|
||||
self.category = ""
|
||||
self.dialog = None
|
||||
self.write_item = None
|
||||
self.options = []
|
||||
self.style_file = ""
|
||||
self.style_name = "default"
|
||||
self.make_default_style = None
|
||||
if name:
|
||||
self.get_registered_item(name)
|
||||
else:
|
||||
self.clear()
|
||||
|
||||
def clear(self):
|
||||
"""
|
||||
@ -130,7 +124,7 @@ class BookItem:
|
||||
self.category = item[1]
|
||||
self.dialog = item[2]
|
||||
self.write_item = item[3]
|
||||
self.options = item[4]
|
||||
self.options = list(item[4])
|
||||
self.style_name = item[5]
|
||||
self.style_file = item[6]
|
||||
self.make_default_style = item[7]
|
||||
|
@ -184,7 +184,7 @@ _style_name = "default"
|
||||
_person_id = ""
|
||||
_max_gen = 1
|
||||
_pg_brk = 0
|
||||
_options = [ _person_id, _max_gen, _pg_brk ]
|
||||
_options = ( _person_id, _max_gen, _pg_brk )
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -837,7 +837,7 @@ _style_name = "default"
|
||||
_person_id = ""
|
||||
_max_gen = 10
|
||||
_pg_brk = 0
|
||||
_options = [ _person_id, _max_gen, _pg_brk ]
|
||||
_options = ( _person_id, _max_gen, _pg_brk )
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -60,7 +60,7 @@ class FtmDescendantReport(Report.Report):
|
||||
self.max_generations = max
|
||||
self.pgbrk = pgbrk
|
||||
self.doc = doc
|
||||
self.setup()
|
||||
#self.setup()
|
||||
self.newpage = newpage
|
||||
if output:
|
||||
self.standalone = 1
|
||||
@ -1243,7 +1243,7 @@ _style_name = "default"
|
||||
_person_id = ""
|
||||
_max_gen = 10
|
||||
_pg_brk = 0
|
||||
_options = [ _person_id, _max_gen, _pg_brk ]
|
||||
_options = ( _person_id, _max_gen, _pg_brk )
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -57,7 +57,7 @@ _person_id = ""
|
||||
_max_gen = 0
|
||||
_pg_brk = 0
|
||||
_filter_num = 0
|
||||
_options = [ _person_id, _max_gen, _pg_brk, _filter_num ]
|
||||
_options = ( _person_id, _max_gen, _pg_brk, _filter_num )
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -57,7 +57,7 @@ from intl import gettext as _
|
||||
_person_id = ""
|
||||
_max_gen = 0
|
||||
_pg_brk = 0
|
||||
_options = [ _person_id, _max_gen, _pg_brk ]
|
||||
_options = ( _person_id, _max_gen, _pg_brk )
|
||||
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
|
@ -119,7 +119,7 @@ _person_id = ""
|
||||
_title_string = ""
|
||||
_copyright_string = ""
|
||||
|
||||
_options = [ _person_id, _title_string, _copyright_string ]
|
||||
_options = ( _person_id, _title_string, _copyright_string )
|
||||
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user