2006-04-23 Don Allingham <don@gramps-project.org>
* src/GrampsCfg.py: remove familyview stuff * src/plugins/TestcaseGenerator.py: fix BIRTH, DEATH constants svn: r6421
This commit is contained in:
parent
0f1dd36ca3
commit
3bce7bb1cc
@ -1,3 +1,7 @@
|
||||
2006-04-23 Don Allingham <don@gramps-project.org>
|
||||
* src/GrampsCfg.py: remove familyview stuff
|
||||
* src/plugins/TestcaseGenerator.py: fix BIRTH, DEATH constants
|
||||
|
||||
2006-04-23 Alex Roitman <shura@gramps-project.org>
|
||||
* src/PluginUtils/_PluginStatus.py (PluginTrace.__init__): Set
|
||||
scrolling policy to auto;
|
||||
|
@ -234,15 +234,6 @@ class GrampsPreferences:
|
||||
fvbutton.connect('toggled',
|
||||
lambda obj: Config.save_default_view(obj.get_active()))
|
||||
|
||||
familyview1 = self.top.get_widget('familyview1')
|
||||
familyview2 = self.top.get_widget('familyview2')
|
||||
if Config.get_family_view() == 0:
|
||||
familyview1.set_active(1)
|
||||
else:
|
||||
familyview2.set_active(1)
|
||||
familyview2.connect('toggled',
|
||||
lambda obj: Config.save_family_view(obj.get_active()))
|
||||
|
||||
usetips = self.top.get_widget('usetips')
|
||||
usetips.set_active(Config.get_usetips())
|
||||
usetips.connect('toggled',
|
||||
|
@ -685,7 +685,7 @@ class TestcaseGenerator(Tool.Tool):
|
||||
# now add them as birth to new persons
|
||||
for dateval in dates:
|
||||
bevent = RelLib.Event()
|
||||
bevent.set_type((RelLib.Event.BIRTH, "Birth"))
|
||||
bevent.set_type(RelLib.EventType.BIRTH)
|
||||
bevent.set_date_object(dateval)
|
||||
bevent_h = self.db.add_event(bevent,self.trans)
|
||||
self.generated_events.append(bevent_h)
|
||||
@ -714,7 +714,7 @@ class TestcaseGenerator(Tool.Tool):
|
||||
|
||||
|
||||
devent = RelLib.Event()
|
||||
devent.set_type((RelLib.Event.DEATH,"Death"))
|
||||
devent.set_type(RelLib.EventType.DEATH)
|
||||
devent.set_date_object(ndate)
|
||||
devent_h = self.db.add_event(devent,self.trans)
|
||||
self.generated_events.append(devent_h)
|
||||
|
Loading…
Reference in New Issue
Block a user