* src/AutoComp.py (StandardCustomSelector): Provide an option to
use an existing ComboBoxEntry instance; add set_values method. * src/RelLib.py (Family.__init__): Use tuple for type. * src/Utils.py: Add event_roles mapping. * src/AddSpouse.py, src/EditPerson.py, src/FamilyView.py, src/ListBox.py, src/Marriage.py, src/NameEdit.py: Support tuple types. * src/gramps.glade: Replace ComboBox with ComboBoxEntry; add icons. svn: r4748
This commit is contained in:
11
src/Utils.py
11
src/Utils.py
@ -203,6 +203,17 @@ source_media_types = {
|
||||
RelLib.RepoRef.VIDEO : _("Video"),
|
||||
}
|
||||
|
||||
event_roles = {
|
||||
RelLib.EventRef.UNKNOWN : _("Unknown"),
|
||||
RelLib.EventRef.CUSTOM : _("Custom"),
|
||||
RelLib.EventRef.PRIMARY : _("Primary"),
|
||||
RelLib.EventRef.CLERGY : _("Clergy"),
|
||||
RelLib.EventRef.CELEBRANT : _("Celebrant"),
|
||||
RelLib.EventRef.AIDE : _("Aide"),
|
||||
RelLib.EventRef.BRIDE : _("Bride"),
|
||||
RelLib.EventRef.GROOM : _("Groom"),
|
||||
RelLib.EventRef.WITNESS : _("Witness"),
|
||||
}
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Integer to GEDCOM tag mappings for constants
|
||||
|
Reference in New Issue
Block a user