* src/LdsUtils.py: switch to parsing an external XML file instead of

hard coded values
	* src/data/lds.xml: new file
	* src/data/Makefile.am: handle new lds.xml
	* src/Editors/_EditLdsOrd.py: handle new LDS temple scheme
	* src/GrampsDbUtils/_GedcomParse.py: handle new LDS temple scheme
	* DisplayTabs/_LdsModel.py: handle new LDS temple scheme

2007-06-23  Don Allingham  <don@gramps-project.org>


svn: r8648
This commit is contained in:
Don Allingham
2007-06-24 04:32:54 +00:00
parent e8c8245c05
commit e978a43d3a
8 changed files with 607 additions and 172 deletions

View File

@@ -202,15 +202,11 @@ class EditLdsOrd(EditSecondary):
self.db.readonly,
changed=self.ord_type_changed)
temple_list = []
for val in LdsUtils.temples:
temple_list.append((val[1],val[0]))
self.temple_menu = MonitoredStrMenu(
self.top.get_widget('temple'),
self.obj.set_temple,
self.obj.get_temple,
temple_list,
LdsUtils.Temples.name_code_data(),
self.db.readonly)
self.status_menu = MonitoredMenu(
@@ -387,15 +383,11 @@ class EditFamilyLdsOrd(EditSecondary):
if item[0] in self._get_types()],
self.db.readonly)
temple_list = []
for val in LdsUtils.temples:
temple_list.append((val[1],val[0]))
self.temple_menu = MonitoredStrMenu(
self.top.get_widget('temple'),
self.obj.set_temple,
self.obj.get_temple,
temple_list,
Ldsutils.Temples.name_code_data(),
self.db.readonly)
self.status_menu = MonitoredMenu(