diff src/gtkprefs.c @ 11052:8a68c933a5dd

[gaim-migrate @ 12990] Patch #1227165 from sadrul This patch probes plugins when the plugin page is loaded in preferences. This allows users to activate newly installed plugins without restarting Gaim. The only way I can see this being a problem is if you installed a plugin which was version-compatible but binary incompatible. (For example, you're working on Gaim HEAD and change a public struct in a way that's binary backwards incompatible, build a plugin against it, install the plugin, and open the preferences page of a running copy of Gaim from before the change.) Even then, depending on the particular plugin and binary incompatibility, you might have to activate the plugin before Gaim would crash. So, unless I'm missing something, this should be safe. Let's see how it goes. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sun, 03 Jul 2005 05:28:57 +0000
parents 50224ac8184d
children e25575a59f01
line wrap: on
line diff
--- a/src/gtkprefs.c	Sun Jul 03 05:00:26 2005 +0000
+++ b/src/gtkprefs.c	Sun Jul 03 05:28:57 2005 +0000
@@ -1956,6 +1956,7 @@
 	GaimPlugin *plug;
 
 	gtk_list_store_clear(ls);
+	gaim_plugins_probe(GAIM_PLUGIN_EXT);
 
 	for (probes = gaim_plugins_get_all();
 		 probes != NULL;