From d0268f1cf8b9eafaf312bbbb442a5d06e01a3aac Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Sun, 21 Oct 2012 01:54:56 +0200 Subject: Supposed fix for opening links on Mac --- src/fe-gtk/fe-gtk.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/fe-gtk/fe-gtk.c b/src/fe-gtk/fe-gtk.c index a523d63b..f762efe3 100644 --- a/src/fe-gtk/fe-gtk.c +++ b/src/fe-gtk/fe-gtk.c @@ -1050,6 +1050,8 @@ fe_open_url_inner (const char *url) { #ifdef WIN32 ShellExecute (0, "open", url, NULL, NULL, SW_SHOWNORMAL); +#elif defined __APPLE__ + try_browser ("open", NULL, url); /* on Mac you can just 'open http://foo.bar/' */ #else /* universal desktop URL opener (from xdg-utils). Supports gnome,kde,xfce4. */ if (try_browser ("xdg-open", NULL, url)) -- cgit 1.4.1