parent
ffce6c5788
commit
756080831d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue