* src/PeopleModel.py (column_death_place): Use "Burial" and "Cremation" events

svn: r4324
This commit is contained in:
Martin Hawlisch 2005-04-08 15:53:48 +00:00
parent 0b442d3721
commit 43ace45a9c
2 changed files with 3 additions and 1 deletions

View File

@ -7,6 +7,8 @@
* src/PeopleView.py (build_tree): Pass Invert state for Filter to PeopleModel
* src/PeopleModel.py: Enable invertation of filter result
* src/PeopleModel.py (column_death_place): Use "Burial" and "Cremation" events
2005-04-08 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/Utils.py (probably_alive): fix some bugs and added checking of ancestors.

View File

@ -350,7 +350,7 @@ class PeopleModel(gtk.GenericTreeModel):
for event_handle in data[_EVENT_COL]:
event = self.db.get_event_from_handle(event_handle)
if event.name in ["Baptism", "Christening"]:
if event.name in ["Burial", "Cremation"]:
place_handle = event.get_place_handle()
if place_handle:
place_title = self.db.get_place_from_handle(place_handle).get_title()