changeset 15275:d2409786013b

[gaim-migrate @ 18064] Load new non-native plugins when opening the plugins dialog. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 30 Dec 2006 18:43:57 +0000
parents ca72c74bf5e3
children 363c1e41042c
files gtk/gtkplugin.c
diffstat 1 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gtk/gtkplugin.c	Wed Dec 27 15:01:39 2006 +0000
+++ b/gtk/gtkplugin.c	Sat Dec 30 18:43:57 2006 +0000
@@ -129,9 +129,14 @@
 		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;
 		}