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:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user