* src/EditPerson.py (did_data_change,on_apply_person_clicked):

Convert date text to unicode before parsing.
* src/Spell.py: Comment out to disable spell-checking for 2.0.6.


svn: r5028
This commit is contained in:
Alex Roitman
2005-08-05 20:49:10 +00:00
parent 38fcd5aaa1
commit 2f2c6bf1e6
3 changed files with 27 additions and 22 deletions

View File

@@ -27,26 +27,28 @@ present, we default to no spell checking.
"""
success = False
try:
import gtk
import gtkspell
import locale
#### FIXME: Uncomment after 2.0.6 is released.
text_view = gtk.TextView()
spell = gtkspell.Spell(text_view)
lang = locale.getlocale()[0]
spell.set_language(lang)
success = True
## success = False
## try:
## import gtk
## import gtkspell
## import locale
except ImportError, msg:
print "Spell.py:", msg
except RuntimeError,msg:
print "Spell.py:", msg
except SystemError,msg:
print "Spell.py:", msg
## text_view = gtk.TextView()
## spell = gtkspell.Spell(text_view)
## lang = locale.getlocale()[0]
## spell.set_language(lang)
## success = True
if success:
## except ImportError, msg:
## print "Spell.py:", msg
## except RuntimeError,msg:
## print "Spell.py:", msg
## except SystemError,msg:
## print "Spell.py:", msg
if False:
class Spell:
def __init__(self,obj):
self.spell = gtkspell.Spell(obj)