SF.net SVN: geany: [2364] trunk/src/plugins.c
ntrel at users.sourceforge.net
ntrel at xxxxx
Wed Mar 19 17:42:20 UTC 2008
Revision: 2364
http://geany.svn.sourceforge.net/geany/?rev=2364&view=rev
Author: ntrel
Date: 2008-03-19 10:42:03 -0700 (Wed, 19 Mar 2008)
Log Message:
-----------
Rename load_plugins() to load_all_plugins(), add comment.
Modified Paths:
--------------
trunk/src/plugins.c
Modified: trunk/src/plugins.c
===================================================================
--- trunk/src/plugins.c 2008-03-19 17:15:28 UTC (rev 2363)
+++ trunk/src/plugins.c 2008-03-19 17:42:03 UTC (rev 2364)
@@ -641,7 +641,8 @@
#endif
-static void load_plugins(void)
+/* Load (but don't initialize) all plugins for the Plugin Manager dialog */
+static void load_all_plugins(void)
{
gchar *path;
@@ -837,7 +838,6 @@
/* set again the sensitiveness of the configure button */
gtk_widget_set_sensitive(pm_widgets.configure_button,
p->configure != NULL && is_active_plugin(p));
-
}
@@ -939,7 +939,7 @@
GtkWidget *vbox, *vbox2, *label_vbox, *hbox, *swin, *label, *label2;
/* before showing the dialog, we need to create the list of available plugins */
- load_plugins();
+ load_all_plugins();
pm_widgets.dialog = gtk_dialog_new_with_buttons(_("Plugins"), GTK_WINDOW(app->window),
GTK_DIALOG_DESTROY_WITH_PARENT,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list