Skip to content
Snippets Groups Projects
Commit 5cb3c74d authored by steve-e's avatar steve-e
Browse files

Only perform the longish check for latex support if the user has enabled latex in ACE.

parent cc9390c0
No related branches found
No related tags found
No related merge requests found
......@@ -183,7 +183,7 @@ else:
HAVE_GPG = False
import latex
HAVE_LATEX = latex.check_for_latex_support()
HAVE_LATEX = config.get('use_latex') and latex.check_for_latex_support()
HAVE_INDICATOR = True
try:
......
......@@ -243,7 +243,8 @@ class FeaturesWindow:
return sleepy.SUPPORTED
def latex_available(self):
return gajim.HAVE_LATEX
from common import latex
return latex.check_for_latex_support()
def pycrypto_available(self):
return gajim.HAVE_PYCRYPTO
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment