* src/gramps.glade (Marriage): Re-work dialog similar to EditPerson.
* src/Utils.py (family_event_roles): Add mapping. * src/RelLib.py (EventRef): Add FAMILY role. * src/Marriage.py: Start using Listbox, so far for Events only. * src/ListBox.py: Support both person and family primaries. * src/EventEdit.py: Support both person and family primaries. * src/EditPerson.py (on_apply_person_clicked): Do not commit event, as this is done in the editor. svn: r4809
This commit is contained in:
@ -215,6 +215,12 @@ event_roles = {
|
||||
RelLib.EventRef.WITNESS : _("Witness"),
|
||||
}
|
||||
|
||||
family_event_roles = {
|
||||
RelLib.EventRef.UNKNOWN : _("Unknown"),
|
||||
RelLib.EventRef.CUSTOM : _("Custom"),
|
||||
RelLib.EventRef.FAMILY : _("Family"),
|
||||
}
|
||||
|
||||
repository_types = {
|
||||
RelLib.Repository.UNKNOWN : _("Unknown"),
|
||||
RelLib.Repository.CUSTOM : _("Custom"),
|
||||
|
Reference in New Issue
Block a user