changeset 7966:7d25d4e50343

[gaim-migrate @ 8643] We now save the list of plugins on quit, before unloading them. That way, any plugin that unloaded itself is taken off the auto-load list. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 31 Dec 2003 08:52:30 +0000
parents b02b30247e7a
children 970d252687df
files src/main.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/main.c	Wed Dec 31 08:22:55 2003 +0000
+++ b/src/main.c	Wed Dec 31 08:52:30 2003 +0000
@@ -42,6 +42,7 @@
 #include "gtkdebug.h"
 #include "gtkft.h"
 #include "gtknotify.h"
+#include "gtkplugin.h"
 #include "gtkpounce.h"
 #include "gtkprefs.h"
 #include "gtkprivacy.h"
@@ -521,6 +522,9 @@
 	session_end();
 #endif
 
+	/* Save the plugins we have loaded for next time. */
+	gaim_gtk_plugins_save();
+
 	/* and end it all... */
 	gtk_main_quit();
 }