Only perform the longish check for latex support if the user has enabled latex in ACE.
This commit is contained in:
parent
cc9390c063
commit
5cb3c74da9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue