diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 8d9bdfaf7..7cb6680c6 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2006-02-24 Alex Roitman + * src/RelLib/_Person.py (Person.get_handle_referents): Add + birth_ref and death_ref to the list of referents. + 2006-02-23 Don Allingham * src/EditEventRef.py: switch to monitored widgets, place selector * src/EventEdit.py: switch to monitored widgets, place selector diff --git a/gramps2/src/RelLib/_Person.py b/gramps2/src/RelLib/_Person.py index e3050a22d..c82825178 100644 --- a/gramps2/src/RelLib/_Person.py +++ b/gramps2/src/RelLib/_Person.py @@ -330,8 +330,9 @@ class Person(PrimaryObject,SourceNote, @return: Returns the list of objects refereincing primary objects. @rtype: list """ + birth_death = [item for item in [birth_ref,death_ref] if item] return self.get_sourcref_child_list() + self.source_list \ - + self.event_ref_list + + self.event_ref_list + birth_death def set_complete_flag(self,val): warn( "Use set_marker instead of set_complete_flag", DeprecationWarning, 2)