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

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


svn: r9069
This commit is contained in:
Benny Malengier 2007-10-03 21:19:53 +00:00
parent 25ac68f14a
commit a0ab7fd642
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 Don Allingham <don@gramps-project.org>
* various: create gen package, move proxy files to this library

View File

@ -170,7 +170,9 @@ class Spell:
if HAVE_GTKSPELL:
for lang_code, lang_name in LANGUAGES.items():
try:
gtkspell.Spell(gtk.TextView()).set_language(lang_code)
#work around gtkspell bug with tv
tv = gtk.TextView()
gtkspell.Spell(tv).set_language(lang_code)
_installed_languages[lang_code] = lang_name
except RuntimeError:
pass