Comment 6 for bug 120569

Revision history for this message
Alexander Roitman (shura) wrote : Re: [gutsy] gramps segfaults on load, and dumps

Duncan,

It was meant to be typed in, it is only a few lines.

If you want to cut/paste, here it is:
1. First start python
2. Run the stuff below

import gtk
import gtkspell
import locale
lang = locale.getlocale()[0]
if lang == None: print "lang is None"
else: gtkspell.Spell(gtk.TextView()).set_language(lang)