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
2 changed files with 3 additions and 2 deletions
|
@ -183,7 +183,7 @@ else:
|
||||||
HAVE_GPG = False
|
HAVE_GPG = False
|
||||||
|
|
||||||
import latex
|
import latex
|
||||||
HAVE_LATEX = latex.check_for_latex_support()
|
HAVE_LATEX = config.get('use_latex') and latex.check_for_latex_support()
|
||||||
|
|
||||||
HAVE_INDICATOR = True
|
HAVE_INDICATOR = True
|
||||||
try:
|
try:
|
||||||
|
|
|
@ -243,7 +243,8 @@ class FeaturesWindow:
|
||||||
return sleepy.SUPPORTED
|
return sleepy.SUPPORTED
|
||||||
|
|
||||||
def latex_available(self):
|
def latex_available(self):
|
||||||
return gajim.HAVE_LATEX
|
from common import latex
|
||||||
|
return latex.check_for_latex_support()
|
||||||
|
|
||||||
def pycrypto_available(self):
|
def pycrypto_available(self):
|
||||||
return gajim.HAVE_PYCRYPTO
|
return gajim.HAVE_PYCRYPTO
|
||||||
|
|
Loading…
Add table
Reference in a new issue