* various: Change Person.male, Person.female, and Person.unkwown

to Person.MALE, Person.FEMALE and Person.UNKNOWN

* gramps.spec.in: bring up to date, support Fedora Core and Mandrake
* src/plugins/NavWebPage.py: Start of the Narrative Web Page plugin


svn: r4008
This commit is contained in:
Don Allingham
2005-02-01 03:46:29 +00:00
parent 4d88b51b7b
commit 6463227a6e
47 changed files with 1861 additions and 482 deletions

View File

@@ -254,9 +254,9 @@ class XmlWriter:
count += 1
self.write_id("person",person,2)
if person.get_gender() == RelLib.Person.male:
if person.get_gender() == RelLib.Person.MALE:
self.write_line("gender","M",3)
elif person.get_gender() == RelLib.Person.female:
elif person.get_gender() == RelLib.Person.FEMALE:
self.write_line("gender","F",3)
else:
self.write_line("gender","U",3)