re-enable LATEX usage.
This commit is contained in:
parent
dd35f9b58a
commit
1f69b98cac
|
@ -182,8 +182,9 @@ else:
|
|||
if system('gpg -h >/dev/null 2>&1'):
|
||||
HAVE_GPG = False
|
||||
|
||||
import latex
|
||||
HAVE_LATEX = config.get('use_latex') and latex.check_for_latex_support()
|
||||
# Depends on use_latex option. Will be correctly set after we config options are
|
||||
# read.
|
||||
HAVE_LATEX = False
|
||||
|
||||
HAVE_INDICATOR = True
|
||||
try:
|
||||
|
|
|
@ -3198,6 +3198,11 @@ class Interface:
|
|||
}
|
||||
|
||||
cfg_was_read = parser.read()
|
||||
|
||||
from common import latex
|
||||
gajim.HAVE_LATEX = gajim.config.get('use_latex') and \
|
||||
latex.check_for_latex_support()
|
||||
|
||||
gajim.logger.reset_shown_unread_messages()
|
||||
# override logging settings from config (don't take care of '-q' option)
|
||||
if gajim.config.get('verbose'):
|
||||
|
|
Loading…
Reference in New Issue