[Github-comments] [geany/geany] WIP: Read default browser command using GIO (#2444)

Enrico Tröger notifications at xxxxx
Thu Feb 20 18:45:59 UTC 2020


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20200220/e4c0d730/attachment.htm>


More information about the Github-comments mailing list