# HG changeset patch # User Richard Laager # Date 1120368537 0 # Node ID 8a68c933a5ddc8c9e524873071714b9272eeb279 # Parent 5290afac047c186b051832c3d1342c38599bbe08 [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 diff -r 5290afac047c -r 8a68c933a5dd ChangeLog --- a/ChangeLog Sun Jul 03 05:00:26 2005 +0000 +++ b/ChangeLog Sun Jul 03 05:28:57 2005 +0000 @@ -39,6 +39,8 @@ better at lower resolutions (Sadrul Habib Chowdhury) * GNOME users can open received files by clicking on "Open" in the file transfer window + * Newly installed plugins can now be activated without restarting Gaim + (Sadrul Habib Chowdhury) Bug fixes: * People using input methods can now use Enter again. diff -r 5290afac047c -r 8a68c933a5dd src/gtkprefs.c --- 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;