show pycrypto in features window
This commit is contained in:
parent
0c18512fcb
commit
a4a5237c60
|
@ -89,6 +89,10 @@ class FeaturesWindow:
|
||||||
_('Transform LaTeX espressions between $$ $$.'),
|
_('Transform LaTeX espressions between $$ $$.'),
|
||||||
_('Requires texlive-latex-base, dvips and imagemagick. You have to set \'use_latex\' to True in the Advanced Configuration Editor.'),
|
_('Requires texlive-latex-base, dvips and imagemagick. You have to set \'use_latex\' to True in the Advanced Configuration Editor.'),
|
||||||
_('Feature not available under Windows.')),
|
_('Feature not available under Windows.')),
|
||||||
|
_('End to end encryption'): (self.pycrypto_available,
|
||||||
|
_('Encrypting chatmessages.'),
|
||||||
|
_('Requires python-crypto.'),
|
||||||
|
_('Requires python-crypto.')),
|
||||||
}
|
}
|
||||||
|
|
||||||
# name, supported
|
# name, supported
|
||||||
|
@ -274,3 +278,7 @@ class FeaturesWindow:
|
||||||
if exitcode == 0:
|
if exitcode == 0:
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
def pycrypto_available(self):
|
||||||
|
from common import gajim
|
||||||
|
return gajim.HAVE_PYCRYPTO
|
||||||
|
|
Loading…
Reference in New Issue