changeset 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 5290afac047c
children da05145441ca
files ChangeLog src/gtkprefs.c
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- 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;