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

@ -84,8 +84,7 @@ class EditEventRef(EditReference):
self.add_event = self.db.add_person_event
def get_custom_events(self):
return [ (RelLib.EventType.CUSTOM,val) \
for val in self.dbstate.db.get_person_event_types()]
return self.db.get_person_event_type_list()
def _connect_signals(self):
self.define_ok_button(self.top.get_widget('ok'),self.ok_clicked)