[Github-comments] [geany/geany] Use gtk_show_uri_on_window() in utils_open_browser() by default (PR #3178)

Thomas Martitz notifications at github.com
Sun Apr 24 20:03:21 UTC 2022


No, it's not that simple. The return is only if `gtk_show_uri_on_window()` fails. The idea is that if the user clears the current `tool_prefs.browser_cmd` in the dialog and commits that and then `gtk_show_uri_on_window()` fails for whatever reason then the dialog pops up again and allows the user to select a different command.

Please suggest a comparably concise way to accomplish that, otherwise we have no rule that forbids goto.

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

Message ID: <geany/geany/pull/3178/c1107908810 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20220424/a201a793/attachment.htm>


More information about the Github-comments mailing list