* 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 724e5b89ca
commit f7df43643f
47 changed files with 1861 additions and 482 deletions

View File

@ -330,7 +330,7 @@ class IsFemale(Rule):
return _('Matches all females')
def apply(self,db,p_id):
return db.get_person_from_handle(p_id).get_gender() == RelLib.Person.female
return db.get_person_from_handle(p_id).get_gender() == RelLib.Person.FEMALE
#-------------------------------------------------------------------------
#
@ -966,7 +966,7 @@ class IsMale(Rule):
return _('Matches all males')
def apply(self,db,p_id):
return db.get_person_from_handle(p_id).get_gender() == RelLib.Person.male
return db.get_person_from_handle(p_id).get_gender() == RelLib.Person.MALE
#-------------------------------------------------------------------------
#