Author: asterix
Date: 2007-08-27 15:46:25 +0200 (Mon, 27 Aug 2007)
New Revision: 8579
Modified:
trunk/src/features_window.py
Log:
show pycrypto in features window
Modified: trunk/src/features_window.py
===================================================================
--- trunk/src/features_window.py 2007-08-27 13:45:57 UTC (rev 8578)
+++ trunk/src/features_window.py 2007-08-27 13:46:25 UTC (rev 8579)
@@ -89,6 +89,10 @@
_('Transform LaTeX espressions between $$ $$.'),
_('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.')),
+ _('End to end encryption'): (self.pycrypto_available,
+ _('Encrypting chatmessages.'),
+ _('Requires python-crypto.'),
+ _('Requires python-crypto.')),
}
# name, supported
@@ -274,3 +278,7 @@
if exitcode == 0:
return True
return False
+
+ def pycrypto_available(self):
+ from common import gajim
+ return gajim.HAVE_PYCRYPTO