2006-04-27 Don Allingham <don@gramps-project.org>

* src/GrampsDb/_GrampsDbBase.py: fix custom event storing
	* src/GrampsDb/_GrampsBSDDB.py: fix custom event storing
	* src/Editors/_EditEventRef.py: fix custom event storing
	* src/Editors/_EditEvent.py: fix custom event storing
	* src/GrampsWidgets.py: fix custom data types
	* src/AutoComp.py: fix custom data types
	


svn: r6480
This commit is contained in:
Don Allingham
2006-04-28 03:32:04 +00:00
parent b0d282b75a
commit 9d695790d0
7 changed files with 20 additions and 11 deletions

View File

@@ -101,6 +101,10 @@ class EditEvent(EditPrimary):
ok.set_sensitive(not self.db.readonly)
ok.connect('clicked',self.save)
def get_custom_events(self):
return self.dbstate.db.get_person_event_type_list() + \
self.dbstate.db.get_family_event_types()
def _setup_fields(self):
self.place_field = PlaceEntry(
self.top.get_widget("eventPlace"),