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:
parent
25ac68f14a
commit
a0ab7fd642
@ -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>
|
2007-10-03 Don Allingham <don@gramps-project.org>
|
||||||
* various: create gen package, move proxy files to this library
|
* various: create gen package, move proxy files to this library
|
||||||
|
|
||||||
|
@ -170,7 +170,9 @@ class Spell:
|
|||||||
if HAVE_GTKSPELL:
|
if HAVE_GTKSPELL:
|
||||||
for lang_code, lang_name in LANGUAGES.items():
|
for lang_code, lang_name in LANGUAGES.items():
|
||||||
try:
|
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
|
_installed_languages[lang_code] = lang_name
|
||||||
except RuntimeError:
|
except RuntimeError:
|
||||||
pass
|
pass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user