update due to death of TransTable
svn: r4720
This commit is contained in:
parent
9ec64315eb
commit
4e4264952a
@ -266,7 +266,7 @@ class EditPerson:
|
||||
or (not self.lds_sealing.is_empty()):
|
||||
Utils.bold_label(self.lds_tab)
|
||||
|
||||
types = const.NameTypesMap.get_values()
|
||||
types = const.NameTypesMap.values()
|
||||
types.sort()
|
||||
AutoComp.fill_combo(self.ntype_field,types)
|
||||
self.write_primary_name()
|
||||
|
@ -196,7 +196,7 @@ class AttrListBox(ReorderListBox):
|
||||
|
||||
def __init__(self, parent, person, obj, label, button_list):
|
||||
|
||||
attrlist = const.personalAttributes
|
||||
attrlist = const.personal_attributes
|
||||
|
||||
titles = [
|
||||
# Title Sort Col, Size, Type
|
||||
@ -219,7 +219,7 @@ class AttrListBox(ReorderListBox):
|
||||
def add(self,obj):
|
||||
"""Brings up the AttributeEditor for a new attribute"""
|
||||
AttrEdit.AttributeEditor(self.parent, None, self.name,
|
||||
const.personalAttributes,
|
||||
const.personal_attributes,
|
||||
self.edit_callback,self.parent.window)
|
||||
|
||||
def update(self,obj):
|
||||
@ -227,7 +227,7 @@ class AttrListBox(ReorderListBox):
|
||||
if node:
|
||||
attr = self.list_model.get_object(node)
|
||||
AttrEdit.AttributeEditor(self.parent, attr, self.name,
|
||||
const.personalAttributes,
|
||||
const.personal_attributes,
|
||||
self.edit_callback,self.parent.window)
|
||||
|
||||
def display_data(self,attr):
|
||||
@ -254,7 +254,7 @@ class EventListBox(ReorderListBox):
|
||||
for event_ref in person.get_event_ref_list():
|
||||
self.data.append(parent.db.get_event_from_handle(event_ref.ref))
|
||||
|
||||
eventnames = const.personalEvents
|
||||
eventnames = const.personal_events.values()
|
||||
|
||||
evalues = [
|
||||
# Title Sort Col Size, Type Argument
|
||||
@ -288,7 +288,7 @@ class EventListBox(ReorderListBox):
|
||||
def add(self,obj):
|
||||
"""Brings up the EventEditor for a new event"""
|
||||
EventEdit.EventEditor(
|
||||
self.parent, self.name, const.personalEvents,
|
||||
self.parent, self.name, const.personal_events,
|
||||
const.personal_events, None, None, 0,
|
||||
self.edit_callback, noedit=self.db.readonly)
|
||||
|
||||
@ -298,7 +298,7 @@ class EventListBox(ReorderListBox):
|
||||
return
|
||||
event = self.list_model.get_object(node)
|
||||
EventEdit.EventEditor(
|
||||
self.parent, self.name, const.personalEvents,
|
||||
self.parent, self.name, const.personal_events,
|
||||
const.personal_events, event, None, 0,
|
||||
self.edit_callback, noedit=self.db.readonly)
|
||||
|
||||
@ -331,7 +331,7 @@ class NameListBox(ReorderListBox):
|
||||
def __init__(self,parent,person,obj,label,button_list):
|
||||
|
||||
surnames = parent.db.get_surname_list()
|
||||
types = const.NameTypesMap.get_values()
|
||||
types = const.NameTypesMap.values()
|
||||
types.sort()
|
||||
|
||||
titles = [
|
||||
|
Loading…
Reference in New Issue
Block a user