[Github-comments] [geany] Proxy plugins (#629)
Thomas Martitz
notifications at xxxxx
Thu Sep 24 20:01:21 UTC 2015
> PLUGIN_COLUMN_CHECK, state,
> PLUGIN_COLUMN_PLUGIN, p, -1);
>
> /* set again the sensitiveness of the configure and help buttons */
> pm_update_buttons(p);
> +
> + /* Depending on the state disable the checkbox for the proxy of this plugin, and
> + * only re-enable if the proxy is not used by any other plugin */
> + if (p->proxy != &builtin_so_proxy_plugin)
> + {
> + GtkTreeIter parent;
> + gboolean can_uncheck;
> + GtkTreePath *store_path = gtk_tree_model_filter_convert_path_to_child_path(
> + GTK_TREE_MODEL_FILTER(model), path);
The rest of the function assumes the same. I think it's nearly impossible that it changed, since the tree was just created when opening the PM dialog (i.e. it's not cached from the startup).
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/629/files#r40365367
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20150924/97017fe7/attachment.html>
More information about the Github-comments
mailing list