[Bug #5610] Can't launch external viewer due to PATH set by Gramps
startup script Hard-code the path to /usr/bin/open in gui/utils.py. Since this is an Apple-only utility and Apple-proprietary, there's no legitimate reason to use a different one. svn: r19022
This commit is contained in:
		@@ -342,7 +342,7 @@ def open_file_with_default_application( file_path ):
 | 
				
			|||||||
            ErrorDialog(_("Error Opening File"), str(msg))
 | 
					            ErrorDialog(_("Error Opening File"), str(msg))
 | 
				
			||||||
    else:
 | 
					    else:
 | 
				
			||||||
        if constfunc.mac():
 | 
					        if constfunc.mac():
 | 
				
			||||||
            utility = 'open'
 | 
					            utility = '/usr/bin/open'
 | 
				
			||||||
        else:
 | 
					        else:
 | 
				
			||||||
            utility = 'xdg-open'
 | 
					            utility = 'xdg-open'
 | 
				
			||||||
        search = os.environ['PATH'].split(':')
 | 
					        search = os.environ['PATH'].split(':')
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user