* src/GrampsGconfKeys.py: Add to CVS -- split off key names.

* src/Makefile.am: Ship GrampsGconfKeys.
* src/ArgHandler.py: Use GrampsGconfKeys.
* src/DbPrompter.py: Use GrampsGconfKeys.
* src/EditPerson.py: Use GrampsGconfKeys.
* src/Exporter.py: Use GrampsGconfKeys.
* src/FamilyView.py: Use GrampsGconfKeys.
* src/GrampsDbBase.py: Use GrampsGconfKeys.
* src/ImageSelect.py: Use GrampsGconfKeys.
* src/MediaView.py: Use GrampsGconfKeys.
* src/Plugins.py: Use GrampsGconfKeys.
* src/Report.py: Use GrampsGconfKeys.
* src/StartupDialog.py: Use GrampsGconfKeys.
* src/TipOfDay.py: Use GrampsGconfKeys.
* src/Utils.py: Use GrampsGconfKeys.
* src/DateDisplay.py: Proper capitalization for _MONS.
* src/DateHandler.py: Use GrampsGconfKeys.
* src/GrampsCfg.py: Use GrampsGconfKeys.
* src/gramps_main.py: Use GrampsGconfKeys.


svn: r3573
This commit is contained in:
Alex Roitman
2004-09-25 05:12:15 +00:00
parent f65f42f4ef
commit 5d5d0a36e2
20 changed files with 685 additions and 599 deletions

View File

@@ -36,6 +36,8 @@ import time
import locale
from gettext import gettext as _
import GrampsGconfKeys
#-------------------------------------------------------------------------
#
# constants
@@ -71,12 +73,12 @@ class GrampsDbBase:
self.lmap_index = 0
self.omap_index = 0
self.set_person_id_prefix(GrampsCfg.get_person_id_prefix())
self.set_object_id_prefix(GrampsCfg.get_object_id_prefix())
self.set_family_id_prefix(GrampsCfg.get_family_id_prefix())
self.set_source_id_prefix(GrampsCfg.get_source_id_prefix())
self.set_place_id_prefix(GrampsCfg.get_place_id_prefix())
self.set_event_id_prefix(GrampsCfg.get_event_id_prefix())
self.set_person_id_prefix(GrampsGconfKeys.get_person_id_prefix())
self.set_object_id_prefix(GrampsGconfKeys.get_object_id_prefix())
self.set_family_id_prefix(GrampsGconfKeys.get_family_id_prefix())
self.set_source_id_prefix(GrampsGconfKeys.get_source_id_prefix())
self.set_place_id_prefix(GrampsGconfKeys.get_place_id_prefix())
self.set_event_id_prefix(GrampsGconfKeys.get_event_id_prefix())
self.open = 0
self.genderStats = GenderStats()