2006-08-21 Don Allingham <don@gramps-project.org>
* src/DisplayModels/_PeopleModel.py: fix handle column after removal of cause of death * src/GrampsDb/_WriteGedcom.py: handle custome events for people (bug # 368) svn: r7226
This commit is contained in:
parent
caee4c1765
commit
b30874dc60
@ -1,3 +1,9 @@
|
||||
2006-08-21 Don Allingham <don@gramps-project.org>
|
||||
* src/DisplayModels/_PeopleModel.py: fix handle column after removal
|
||||
of cause of death
|
||||
* src/GrampsDb/_WriteGedcom.py: handle custome events for people (bug
|
||||
# 368)
|
||||
|
||||
2006-08-20 Alex Roitman <shura@gramps-project.org>
|
||||
* src/DataViews/_PersonView.py (column_names): Remove cause of death.
|
||||
* src/DisplayModels/_PeopleModel.py (__init__): Update the order
|
||||
|
@ -123,7 +123,7 @@ class PeopleModel(gtk.GenericTreeModel):
|
||||
_GENDER = [ _(u'female'), _(u'male'), _(u'unknown') ]
|
||||
|
||||
# dynamic calculation of column indices, for use by various Views
|
||||
COLUMN_INT_ID = 13
|
||||
COLUMN_INT_ID = 12
|
||||
|
||||
# indices into main column definition table
|
||||
COLUMN_DEF_LIST = 0
|
||||
|
@ -980,6 +980,7 @@ class GedcomWriter(UpdateCallback):
|
||||
# Actually, it is against the spec to put anything
|
||||
# after EVEN on the same line, possibly an option is
|
||||
# needed on how to handle this
|
||||
|
||||
if event.get_description().strip() != "":
|
||||
self.writeln("1 EVEN %s" %
|
||||
self.cnvtxt(event.get_description()))
|
||||
@ -987,6 +988,8 @@ class GedcomWriter(UpdateCallback):
|
||||
self.writeln("1 EVEN")
|
||||
if val.strip():
|
||||
self.writeln("2 TYPE %s" % self.cnvtxt(val))
|
||||
else:
|
||||
self.writeln("2 TYPE %s" % self.cnvtxt(str(event.get_type())))
|
||||
|
||||
self.dump_event_stats(event, event_ref)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user