common/helpers also does exo-open
This commit is contained in:
		
							parent
							
								
									d63d78be66
								
							
						
					
					
						commit
						b37bf4ec0a
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -404,6 +404,8 @@ def launch_browser_mailer(kind, uri):
 | 
			
		|||
			command = 'gnome-open'
 | 
			
		||||
		elif gajim.config.get('openwith') == 'kfmclient exec':
 | 
			
		||||
			command = 'kfmclient exec'
 | 
			
		||||
		elif gajim.config.get('openwith') == 'exo-open':
 | 
			
		||||
			command = 'exo-open'
 | 
			
		||||
		elif gajim.config.get('openwith') == 'custom':
 | 
			
		||||
			if kind == 'url':
 | 
			
		||||
				command = gajim.config.get('custombrowser')
 | 
			
		||||
| 
						 | 
				
			
			@ -429,6 +431,8 @@ def launch_file_manager(path_to_open):
 | 
			
		|||
			command = 'gnome-open'
 | 
			
		||||
		elif gajim.config.get('openwith') == 'kfmclient exec':
 | 
			
		||||
			command = 'kfmclient exec'
 | 
			
		||||
		elif gajim.config.get('openwith') == 'exo-open':
 | 
			
		||||
			command = 'exo-open'
 | 
			
		||||
		elif gajim.config.get('openwith') == 'custom':
 | 
			
		||||
			command = gajim.config.get('custom_file_manager')
 | 
			
		||||
		if command == '': # if no app is configured
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue