2007-10-03 Benny Malengier <benny.malengier@gramps-project.org>

* src/Spell.py: add gtkspell bug workaround, see eg issue 1272, 1091, ...


svn: r9068
This commit is contained in:
Benny Malengier 2007-10-03 21:16:31 +00:00
parent dac7bd1eeb
commit d53d49ec5a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2007-10-03 Benny Malengier <benny.malengier@gramps-project.org>
* src/Spell.py: add gtkspell bug workaround, see eg issue 1272, 1091, ...
2007-10-03 Benny Malengier <benny.malengier@gramps-project.org> 2007-10-03 Benny Malengier <benny.malengier@gramps-project.org>
* src/PageView.py: correct bug not going to bookmark if no active person * src/PageView.py: correct bug not going to bookmark if no active person
* src/DataViews/_MediaView.py: * src/DataViews/_MediaView.py:

View File

@ -50,7 +50,9 @@ try:
print _("Spelling checker cannot be used without language set.") print _("Spelling checker cannot be used without language set.")
print _("Set your locale appropriately to use spelling checker.") print _("Set your locale appropriately to use spelling checker.")
else: else:
gtkspell.Spell(gtk.TextView()).set_language(lang) #work around gtkspell bug with tv
tv = gtk.TextView()
gtkspell.Spell(tv).set_language(lang)
success = True success = True
except ImportError, msg: except ImportError, msg:
print _("Spelling checker is not installed") print _("Spelling checker is not installed")