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)
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 getlocale( )[0] Spell(gtk. TextView( )).set_ language( lang)
import gtkspell
import locale
lang = locale.
if lang == None: print "lang is None"
else: gtkspell.