autodetect_browser_mailer is defaulted to False so Gajim starts up faster
This commit is contained in:
		
							parent
							
								
									f0adbc9892
								
							
						
					
					
						commit
						29d49b44c2
					
				
					 2 changed files with 6 additions and 2 deletions
				
			
		|  | @ -145,7 +145,7 @@ class Config: | |||
| 		'always_english_wiktionary': [opt_bool, True], | ||||
| 		'remote_control': [opt_bool, True, _('If checked, Gajim can be controlled remotely using gajim-remote.')], | ||||
| 		'chat_state_notifications': [opt_str, 'all'], # 'all', 'composing_only', 'disabled' | ||||
| 		'autodetect_browser_mailer': [opt_bool, True], | ||||
| 		'autodetect_browser_mailer': [opt_bool, False], | ||||
| 		'print_ichat_every_foo_minutes': [opt_int, 5], | ||||
| 		'confirm_close_muc': [opt_bool, True, _('Ask before closing a group chat tab/window.')], | ||||
| 		'noconfirm_close_muc_rooms': [opt_str, '', _('A list of rooms that do not require confirmation before closing')], | ||||
|  |  | |||
|  | @ -200,6 +200,10 @@ class OptionsParser: | |||
| 		gajim.config.set('version', '0.9') | ||||
| 
 | ||||
| 	def update_config_09_to_010(self): | ||||
| 		if self.old_values.has_key('usetabbedchat') and not self.old_values['usetabbedchat']: | ||||
| 		if self.old_values.has_key('usetabbedchat') and not \ | ||||
| 			self.old_values['usetabbedchat']: | ||||
| 			gajim.config.set('one_message_window', 'never') | ||||
| 		if self.old_values.has_key('autodetect_browser_mailer') and \ | ||||
| 			self.old_values['autodetect_browser_mailer'] is True: | ||||
| 			gajim.config.set('autodetect_browser_mailer', False) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue