* configure.in, configure: Typo.

* src/plugins/FtmStyleAncestors.py (endnotes): Do not add
redundant references.
* src/plugins/FtmStyleDescendants.py (endnotes): Do not add
redundant references.
* src/plugins/DetAncestralReport.py (_make_default_style):
Remove unused table definition.
* src/plugins/DetDescendantReport.py (_make_default_style):
Remove unused table definition.


svn: r2950
This commit is contained in:
Alex Roitman 2004-03-02 03:43:51 +00:00
parent fe971218bd
commit 35fe331daf
7 changed files with 419 additions and 237 deletions

View File

@ -2,6 +2,16 @@
* src/docgen/LPRDoc.py: Table support correction: transferring
row to the next page.
* configure.in, configure: Typo.
* src/plugins/FtmStyleAncestors.py (endnotes): Do not add
redundant references.
* src/plugins/FtmStyleDescendants.py (endnotes): Do not add
redundant references.
* src/plugins/DetAncestralReport.py (_make_default_style):
Remove unused table definition.
* src/plugins/DetDescendantReport.py (_make_default_style):
Remove unused table definition.
2004-02-29 Don Allingham <dallingham@users.sourceforge.net>
* src/gramps_main.py: remove local media concept
* src/RelLib.py: remove local media concept

598
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -198,7 +198,7 @@ if test YES != "$has_pygtk"
then
AC_MSG_ERROR([
**** The python bindings for glade (pytgk2-libglade) could not be found.])
**** The python bindings for glade (pygtk2-libglade) could not be found.])
fi
AC_MSG_RESULT(ok)

View File

@ -680,12 +680,6 @@ def _make_default_style(default_style):
para.set_description(_('The style used for the first personal entry.'))
default_style.add_style("DAR-First-Entry",para)
table = BaseDoc.TableStyle()
table.set_width(1000)
table.set_columns(3)
table.set_column_width(1,"30%")
#self.default_style.add_style("Images",table)
#------------------------------------------------------------------------
#
#

View File

@ -688,12 +688,6 @@ def _make_default_style(default_style):
para.set_description(_('The style used for the first personal entry.'))
default_style.add_style("DDR-First-Entry",para)
table = BaseDoc.TableStyle()
table.set_width(1000)
table.set_columns(3)
table.set_column_width(1,"30%")
#self.default_style.add_style("Images",table)
#------------------------------------------------------------------------
#
#

View File

@ -62,7 +62,7 @@ class FtmAncestorReport(Report.Report):
else:
self.standalone = 0
self.sref_map = {}
self.sref_index = 1
self.sref_index = 0
def apply_filter(self,person,index,generation=1):
if person == None or generation > self.max_generations:
@ -463,9 +463,18 @@ class FtmAncestorReport(Report.Report):
if not first:
msg.write(',')
first = 0
msg.write("%d" % self.sref_index)
self.sref_map[self.sref_index] = ref
self.sref_index += 1
ref_base = ref.get_base_id()
the_key = 0
for key in self.sref_map.keys():
if ref_base == self.sref_map[key].get_base_id():
the_key = key
break
if the_key:
msg.write("%d" % the_key)
else:
self.sref_index += 1
self.sref_map[self.sref_index] = ref
msg.write("%d" % self.sref_index)
msg.write('</super>')
str = msg.getvalue()
msg.close()

View File

@ -71,7 +71,7 @@ class FtmDescendantReport(Report.Report):
else:
self.standalone = 0
self.sref_map = {}
self.sref_index = 1
self.sref_index = 0
def setup(self):
tbl = BaseDoc.TableStyle()
@ -497,9 +497,18 @@ class FtmDescendantReport(Report.Report):
if not first:
msg.write(',')
first = 0
msg.write("%d" % self.sref_index)
self.sref_map[self.sref_index] = ref
self.sref_index += 1
ref_base = ref.get_base_id()
the_key = 0
for key in self.sref_map.keys():
if ref_base == self.sref_map[key].get_base_id():
the_key = key
break
if the_key:
msg.write("%d" % the_key)
else:
self.sref_index += 1
self.sref_map[self.sref_index] = ref
msg.write("%d" % self.sref_index)
msg.write('</super>')
str = msg.getvalue()
msg.close()