Config method changed

svn: r6429
This commit is contained in:
Don Allingham
2006-04-24 21:04:01 +00:00
parent 999711b902
commit 5afa945819
24 changed files with 557 additions and 1068 deletions

View File

@@ -66,7 +66,7 @@ except SystemError,msg:
class Spell:
def __init__(self,obj):
if success and Config.get_spellcheck():
if success and Config.get(Config.SPELLCHECK):
self.spell = gtkspell.Spell(obj)
lang = locale.getlocale()[0]
self.spell.set_language(lang)