diff options
Diffstat (limited to 'app-editors/remarkable/files/remarkable-1.9.0_pre20210320-disable-spellcheck.patch')
-rw-r--r-- | app-editors/remarkable/files/remarkable-1.9.0_pre20210320-disable-spellcheck.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app-editors/remarkable/files/remarkable-1.9.0_pre20210320-disable-spellcheck.patch b/app-editors/remarkable/files/remarkable-1.9.0_pre20210320-disable-spellcheck.patch new file mode 100644 index 000000000000..6dbd4cf48a8d --- /dev/null +++ b/app-editors/remarkable/files/remarkable-1.9.0_pre20210320-disable-spellcheck.patch @@ -0,0 +1,23 @@ +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') |