I'm going to test `gtk_show_uri()` (and the `_on_window` variant) on Windows, 
maybe it works for file:// and http:// URIs even without GVFS what should be 
well enough for opening URLs in the browser.

I would prepare a PR to do the following:
- remove the "firefox" default browser on Windows, letting it undefined for 
Windows
- change the behavior to use the configured browser command on Windows for 
opening URIs
- fallback to `gtk_show_uri` if no browser command is configured (or fallback 
to `ShellExecute` if `gtk_show_uri` does not work)
- maybe check for the configured browser command to not equal "firefox" which 
was the previous default value on Windows which most probably won't work for 
most users except they added firefox to their $PATH which is unlikely; this 
would help users with existing configurations

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1522#issuecomment-311260432

Reply via email to