[Github-comments] [geany/geany] Do not strip dots from proxy plugin extensions (#1233)
Thomas Martitz
notifications at xxxxx
Sun Sep 18 10:44:33 UTC 2016
kugel- commented on this pull request.
> @@ -2067,8 +2055,14 @@ gboolean geany_plugin_register_proxy(GeanyPlugin *plugin, const gchar **extensio
foreach_strv(ext, extensions)
{
+ if (**ext == '.')
+ {
+ g_warning(_("Proxy plugin '%s' extension '%s' starts with a dot. "
+ "Please fix your proxy plugin."), p->info.name, *ext);
+ }
Returning false is a bit involved, since you'd want to roll back adding earlier extensions from the same call.
--
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/1233
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160918/9191d171/attachment-0001.html>
More information about the Github-comments
mailing list