svn: r8947
This commit is contained in:
parent
7a8301c28a
commit
afb2bbc201
@ -54,8 +54,8 @@ try:
|
|||||||
import gtkspell
|
import gtkspell
|
||||||
HAVE_GTKSPELL = True
|
HAVE_GTKSPELL = True
|
||||||
except ImportError:
|
except ImportError:
|
||||||
LOG.warn(_("Spelling checker is not installed"))
|
|
||||||
HAVE_GTKSPELL = False
|
HAVE_GTKSPELL = False
|
||||||
|
LOG.warn(_("Spelling checker is not installed"))
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -173,7 +173,7 @@ class Spell:
|
|||||||
gtkspell.Spell(gtk.TextView()).set_language(lang_code)
|
gtkspell.Spell(gtk.TextView()).set_language(lang_code)
|
||||||
_installed_languages[lang_code] = lang_name
|
_installed_languages[lang_code] = lang_name
|
||||||
except RuntimeError:
|
except RuntimeError:
|
||||||
LOG.warn(_("Spelling checker language could not loaded"))
|
pass
|
||||||
|
|
||||||
def __init__(self, textview):
|
def __init__(self, textview):
|
||||||
self.textview = textview
|
self.textview = textview
|
||||||
|
Loading…
x
Reference in New Issue
Block a user