You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-editors/remarkable/files/remarkable-1.9.0_pre2021032...

24 lines
716 B

Remove the spellcheck option permanently unless someone is packaging
pygtkspellcheck for Gentoo
Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
--- a/remarkable/RemarkableWindow.py
+++ b/remarkable/RemarkableWindow.py
@@ -41,13 +41,8 @@
import warnings
from findBar import FindBar
-# Check if gtkspellcheck is installed
-try:
- from gtkspellcheck import SpellChecker
- spellcheck_enabled = True
-except:
- print("*Spellchecking not enabled.\n*To enable spellchecking install pygtkspellcheck\n*https://pypi.python.org/pypi/pygtkspellcheck/")
- spellcheck_enabled = False
+# spellcheck permanently disabled
+spellcheck_enabled = False
import logging
logger = logging.getLogger('remarkable')