svn: r8947

This commit is contained in:
Don Allingham 2007-09-08 04:30:36 +00:00
parent 7a8301c28a
commit afb2bbc201
2 changed files with 6 additions and 6 deletions

View File

@ -54,8 +54,8 @@ try:
import gtkspell
HAVE_GTKSPELL = True
except ImportError:
LOG.warn(_("Spelling checker is not installed"))
HAVE_GTKSPELL = False
LOG.warn(_("Spelling checker is not installed"))
#-------------------------------------------------------------------------
#
@ -173,7 +173,7 @@ class Spell:
gtkspell.Spell(gtk.TextView()).set_language(lang_code)
_installed_languages[lang_code] = lang_name
except RuntimeError:
LOG.warn(_("Spelling checker language could not loaded"))
pass
def __init__(self, textview):
self.textview = textview