Kaydet (Commit) 3ba9517d authored tarafından Nick Treleaven's avatar Nick Treleaven

Add debug message with the number of compatible plugins in each

plugin search path when showing the Plugin Manager dialog.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5507 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst e52c44bc
2011-01-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugins.c:
Add debug message with the number of compatible plugins in each
plugin search path when showing the Plugin Manager dialog.
2010-12-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html:
......
......@@ -825,6 +825,7 @@ load_plugins_from_path(const gchar *path)
{
GSList *list, *item;
gchar *fname, *tmp;
gint count = 0;
list = utils_get_file_list(path, NULL, NULL);
......@@ -835,12 +836,16 @@ load_plugins_from_path(const gchar *path)
continue;
fname = g_strconcat(path, G_DIR_SEPARATOR_S, item->data, NULL);
plugin_new(fname, FALSE, TRUE);
if (plugin_new(fname, FALSE, TRUE))
count++;
g_free(fname);
}
g_slist_foreach(list, (GFunc) g_free, NULL);
g_slist_free(list);
if (count)
geany_debug("Found %d plugin(s) in '%s'.", count, path);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment