From a89bc54a256df04f627e6dbb301f6cc2886359a4 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Tue, 6 Mar 2012 19:08:29 +0000 Subject: [PATCH] [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 --- src/gui/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/utils.py b/src/gui/utils.py index 742111d78..eb0a3c194 100644 --- a/src/gui/utils.py +++ b/src/gui/utils.py @@ -342,7 +342,7 @@ def open_file_with_default_application( file_path ): ErrorDialog(_("Error Opening File"), str(msg)) else: if constfunc.mac(): - utility = 'open' + utility = '/usr/bin/open' else: utility = 'xdg-open' search = os.environ['PATH'].split(':')