<p>This fixes locating pastebin configuration files shipped with the<br>
plugin under Windows (those installed in the plugin's data directory<br>
rather than in the user's configuration directory).</p>
<hr>
<p>Quickly tested and working, but I wouldn't trust it with my life.</p>
<hr>
<p>Probably unrelated, but the plugin crashes when clicking the link in the popup dialog after a successful paste. This relies on GTK's URL opening (all the plugin does is setting markup using <code><a href="..."></code>in a dialog), and the crash might or might not be related to the fact I cross-built the plugin with a different GTK version (works on my Linux machine). Once I figure out how to setup everything to actually build it on Windows I could try again -- or someone else could try the patch, who knows <a href="https://github.com/eht16" class="user-mention">@eht16</a> :)<br>
However, if the plugin is configured to open the URI without asking (and then using <code>utils_open_browser()</code>), it works fine.</p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/geany/geany-plugins/pull/402'>https://github.com/geany/geany-plugins/pull/402</a></p>
<h4>Commit Summary</h4>
<ul>
<li>geniuspaste: Add Windows-specific logic for locating system data files</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/geany/geany-plugins/pull/402/files#diff-0">geniuspaste/src/geniuspaste.c</a>
(48)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/geany/geany-plugins/pull/402.patch'>https://github.com/geany/geany-plugins/pull/402.patch</a></li>
<li><a href='https://github.com/geany/geany-plugins/pull/402.diff'>https://github.com/geany/geany-plugins/pull/402.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany-plugins/pull/402">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJxJDeG9iryA_jjQ70uK4uWmL564Aks5pshjNgaJpZM4HvL8D.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/geany/geany-plugins/pull/402"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>