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:
		| @@ -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 | ||||
|  | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user