re-enable LATEX usage.
This commit is contained in:
		
							parent
							
								
									dd35f9b58a
								
							
						
					
					
						commit
						1f69b98cac
					
				
					 2 changed files with 8 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		
		Reference in a new issue