* src/const.py.in: convert Alternate Birth and Alternate Death to

Birth and Death


svn: r4448
This commit is contained in:
Don Allingham
2005-05-01 04:22:08 +00:00
parent 5351dad9bc
commit ccbf79cc5c
5 changed files with 120 additions and 72 deletions

@ -42,7 +42,7 @@ class ListModel:
self.mylist = []
self.data_index = 0
for l in dlist:
if len(l) == 4 and l[3] == TOGGLE:
if l[3] == TOGGLE:
self.mylist.append(TYPE_BOOLEAN)
else:
self.mylist.append(TYPE_STRING)
@ -60,17 +60,6 @@ class ListModel:
self.cids = []
self.idmap = {}
store = gtk.ListStore(str)
events = const.personalConstantEvents.keys()
events.append('Birth')
events.append('Death')
events.sort()
model = gtk.ListStore(str,TYPE_OBJECT)
for val in events:
model.append((val,store))
cnum = 0
for name in dlist:
if len(name) == 3: