Instead of using only hard-coded and varying defaults for Linux,
MacOS and Windows, try to read the system's default command for 
"http"
URI schemes and use it if found.
If no usable default is available, fallback to the previous hard-coded
defaults.

Besides being more user-friendly, this should solve issues on Windows
where we always used "ShellExecute" and bypassed the configured 
browser
command which led to errors on URLs with anchors (see #2405).
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/2444

-- Commit Summary --

  * Read default browser command using GIO

-- File Changes --

    M src/keyfile.c (20)

-- Patch Links --

https://github.com/geany/geany/pull/2444.patch
https://github.com/geany/geany/pull/2444.diff

-- 
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/pull/2444

Reply via email to