diff options
Diffstat (limited to 'src/fe-gtk')
-rw-r--r-- | src/fe-gtk/fe-gtk.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fe-gtk/fe-gtk.c b/src/fe-gtk/fe-gtk.c index fc3737fb..a0815301 100644 --- a/src/fe-gtk/fe-gtk.c +++ b/src/fe-gtk/fe-gtk.c @@ -979,7 +979,10 @@ 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/' */ + /* on Mac you can just 'open http://foo.bar/' */ + gchar open[512]; + g_snprinf (open, sizeof(open), "%s %s", g_find_program_in_path ("open"), url, NULL); + hexchat_exec (open); #else gtk_show_uri (NULL, url, GDK_CURRENT_TIME, NULL); #endif |