Revision: 18064
http://svn.sourceforge.net/gaim/?rev=18064&view=rev
Author: sadrul
Date: 2006-12-30 10:43:57 -0800 (Sat, 30 Dec 2006)
Log Message:
-----------
Load new non-native plugins when opening the plugins dialog.
Modified Paths:
--------------
trunk/gtk/gtkplugin.c
Modified: trunk/gtk/gtkplugin.c
===================================================================
--- trunk/gtk/gtkplugin.c 2006-12-27 15:01:39 UTC (rev 18063)
+++ trunk/gtk/gtkplugin.c 2006-12-30 18:43:57 UTC (rev 18064)
@@ -129,10 +129,15 @@
char *desc;
plug = probes->data;
- if (plug->info->type != GAIM_PLUGIN_STANDARD ||
- (plug->info->flags & GAIM_PLUGIN_FLAG_INVISIBLE))
- {
+ if (plug->info->type == GAIM_PLUGIN_LOADER) {
+ GList *cur;
+ for (cur = GAIM_PLUGIN_LOADER_INFO(plug)->exts; cur != NULL;
+ cur = cur->next)
+ gaim_plugins_probe(cur->data);
continue;
+ } else if (plug->info->type != GAIM_PLUGIN_STANDARD ||
+ (plug->info->flags & GAIM_PLUGIN_FLAG_INVISIBLE)) {
+ continue;
}
gtk_list_store_append (ls, &iter);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|