Add Config package

svn: r6044
This commit is contained in:
Alex Roitman
2006-03-03 00:10:52 +00:00
parent 72ff16c982
commit bc6848cf20
26 changed files with 223 additions and 214 deletions

View File

@@ -27,7 +27,7 @@ present, we default to no spell checking.
"""
import GrampsKeys
import Config
from gettext import gettext as _
@@ -66,7 +66,7 @@ except SystemError,msg:
class Spell:
def __init__(self,obj):
if success and GrampsKeys.get_spellcheck():
if success and Config.get_spellcheck():
self.spell = gtkspell.Spell(obj)
lang = locale.getlocale()[0]
self.spell.set_language(lang)