<p dir="auto">Instead of requiring the user to specify a browser just try to<br>
use the system default browser through gtk_show_uri_on_window().<br>
This is done when tool_prefs.browser_cmd is empty which is<br>
also the new default.</p>
<p dir="auto">This aligns with windows where we do this already. Though we're<br>
bypassing tool_prefs.browser_cmd there entirely, while on non-Windows<br>
we still honor tool_prefs.browser_cmd when it's set.</p>
<p dir="auto">This is primarily useful for flatpak support where we cannot just<br>
execute arbitrary commands on the host (unless using flatpak-spawn).</p>
<p dir="auto">Also, firefox is arguably a bad default these days, given the<br>
declined marked share.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/geany/geany/pull/3178'>https://github.com/geany/geany/pull/3178</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/geany/geany/pull/3178/commits/13bcc456d7ce63d26790c050d44d49c06271a232" class="commit-link">13bcc45</a>  Use gtk_show_uri_on_window() in utils_open_browser() by default</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/geany/geany/pull/3178/files">3 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/3178/files#diff-5d5771dd29b0be0a11dd1148359dd0a650f7a69fe988ca5072f659bdf5be55d3">data/geany.glade</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/3178/files#diff-2810524eed127fdf86cd7a7aaac164efa0d240a2da10844304e79e0307dccaf3">src/keyfile.c</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/3178/files#diff-3e04e056edbdc0f772b0ffd1c93cef1187209f37276d40d2a281d9b989398a73">src/utils.c</a>
    (18)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany/pull/3178.patch'>https://github.com/geany/geany/pull/3178.patch</a></li>
  <li><a href='https://github.com/geany/geany/pull/3178.diff'>https://github.com/geany/geany/pull/3178.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/3178">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ4IEW4PLFHFLVZCVL3VGU45LANCNFSM5UGF5OWQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAIOWJ6EBKP7ZRXANXJJCP3VGU45LA5CNFSM5UGF5OW2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4SCWWCOQ.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><geany/geany/pull/3178</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/3178",
"url": "https://github.com/geany/geany/pull/3178",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>