changeset 18242:2500e968be58

Load new non-native plugins when the plugins window opens.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 24 Jun 2007 19:20:00 +0000
parents bc4518599c10
children b97eb04e8843
files finch/gntplugin.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/finch/gntplugin.c	Sat Jun 23 06:32:09 2007 +0000
+++ b/finch/gntplugin.c	Sun Jun 24 19:20:00 2007 +0000
@@ -277,6 +277,14 @@
 	{
 		PurplePlugin *plug = iter->data;
 
+		if (plug->info->type == PURPLE_PLUGIN_LOADER) {
+			GList *cur;
+			for (cur = PURPLE_PLUGIN_LOADER_INFO(plug)->exts; cur != NULL;
+					 cur = cur->next)
+				purple_plugins_probe(cur->data);
+			continue;
+		}
+
 		if (plug->info->type != PURPLE_PLUGIN_STANDARD ||
 			(plug->info->flags & PURPLE_PLUGIN_FLAG_INVISIBLE) ||
 			plug->error)