* src/plugins/FtmStyleAncestors.py (write_report): Likewise.
* src/plugins/Verify.py (on_apply_clicked): Detect homosexual marriage only if the spouses' gender is known and equal. svn: r2214
This commit is contained in:
parent
4b7f14d66f
commit
1451ac5552
@ -4,6 +4,9 @@
|
||||
* src/plugins/FtmStyleDescendants.py (write_report): Change from
|
||||
partial phrases to the complete phrases. Consider all cases (birth
|
||||
date/place, death date/place, gender). Closes 810904, 810905.
|
||||
* src/plugins/FtmStyleAncestors.py (write_report): Likewise.
|
||||
* src/plugins/Verify.py (on_apply_clicked): Detect homosexual
|
||||
marriage only if the spouses' gender is known and equal.
|
||||
|
||||
2003-10-06 Don Allingham <dallingham@users.sourceforge.net>
|
||||
* src/plugins/WebPage.py: Fixed ID link so that link references are
|
||||
|
@ -246,7 +246,7 @@ def on_apply_clicked(obj):
|
||||
mother = family.getMother()
|
||||
father = family.getFather()
|
||||
if mother!=None and father!=None:
|
||||
if mother.getGender() == father.getGender():
|
||||
if ( mother.getGender() == father.getGender() ) and mother.getGender() != RelLib.Person.unknown:
|
||||
warn.write( _("Homosexual marriage: %s in family %s.\n") % ( idstr, family.getId() ) )
|
||||
if family.getFather() == person and person.getGender() == RelLib.Person.female:
|
||||
error.write( _("Female husband: %s in family %s.\n") % ( idstr, family.getId() ) )
|
||||
|
Loading…
Reference in New Issue
Block a user