This repository has been archived on 2024-09-25. You can view files and clone it, but cannot push or open issues or pull requests.
overlay/net-im/gajim/files/disable-gspell.patch

24 lines
798 B
Diff

--- a/gajim/common/app.py 2018-05-16 05:59:40.278703415 +0300
+++ b/gajim/common/app.py 2018-05-16 06:00:14.520423471 +0300
@@ -265,20 +265,6 @@
HAVE_IDLE = False
HAVE_SPELL = False
-try:
- spell_log = logging.getLogger('gajim.speller')
- gi.require_version('Gspell', '1')
- from gi.repository import Gspell
- langs = Gspell.language_get_available()
- for lang in langs:
- spell_log.info('%s (%s) dict available',
- lang.get_name(), lang.get_code())
- if langs:
- HAVE_SPELL = True
- else:
- spell_log.info('No dicts available')
-except (ImportError, ValueError):
- pass
gajim_identity = {'type': 'pc', 'category': 'client', 'name': 'Gajim'}
gajim_common_features = [nbxmpp.NS_BYTESTREAM, nbxmpp.NS_SI, nbxmpp.NS_FILE,