[Github-comments] [geany-plugins] geniuspaste: Add Windows-specific logic for locating system data files (#402)
Colomban Wendling
notifications at xxxxx
Sat Mar 12 01:37:17 UTC 2016
This fixes locating pastebin configuration files shipped with the
plugin under Windows (those installed in the plugin's data directory
rather than in the user's configuration directory).
---
Quickly tested and working, but I wouldn't trust it with my life.
---
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 `<a href="...">`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 @eht16 :)
However, if the plugin is configured to open the URI without asking (and then using `utils_open_browser()`), it works fine.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/402
-- Commit Summary --
* geniuspaste: Add Windows-specific logic for locating system data files
-- File Changes --
M geniuspaste/src/geniuspaste.c (48)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/402.patch
https://github.com/geany/geany-plugins/pull/402.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/402
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160311/14734797/attachment.html>
More information about the Github-comments
mailing list