summaryrefslogtreecommitdiff
path: root/net-im/gajim/files/1.0.3-0001-disable-gspell.patch
blob: fbffa1123342b9b134bdce9d3aec3662d775c8f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- 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,