* src/FamilyView.py: Correct constants for birth relationship.
svn: r4150
This commit is contained in:
@@ -21,6 +21,8 @@
|
|||||||
* src/rule.glade: Change button label; add "need to close" label.
|
* src/rule.glade: Change button label; add "need to close" label.
|
||||||
* src/EditPlace.py: Typo.
|
* src/EditPlace.py: Typo.
|
||||||
|
|
||||||
|
* src/FamilyView.py: Correct constants for birth relationship.
|
||||||
|
|
||||||
2005-03-09 Don Allingham <don@gramps-project.org>
|
2005-03-09 Don Allingham <don@gramps-project.org>
|
||||||
* src/NameEdit.py: assign date on close
|
* src/NameEdit.py: assign date on close
|
||||||
|
|
||||||
|
@@ -777,7 +777,7 @@ class FamilyView:
|
|||||||
self.family.set_mother_handle(self.person.get_handle())
|
self.family.set_mother_handle(self.person.get_handle())
|
||||||
|
|
||||||
self.family.add_child_handle(epo.person.get_handle())
|
self.family.add_child_handle(epo.person.get_handle())
|
||||||
epo.person.add_parent_family_handle(self.family.get_handle(),"Birth","Birth")
|
epo.person.add_parent_family_handle(self.family.get_handle(),RelLib.Person.CHILD_REL_BIRTH,RelLib.Person.CHILD_REL_BIRTH)
|
||||||
self.parent.db.commit_person(epo.person,trans)
|
self.parent.db.commit_person(epo.person,trans)
|
||||||
self.parent.db.commit_family(self.family,trans)
|
self.parent.db.commit_family(self.family,trans)
|
||||||
self.parent.db.transaction_commit(trans,_("Add Child to Family"))
|
self.parent.db.transaction_commit(trans,_("Add Child to Family"))
|
||||||
|
Reference in New Issue
Block a user