changeset 986:ca8f1d02630a

[gaim-migrate @ 996] trying to be more forceful about saving config, esp. after permit/deny change committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 13 Oct 2000 18:21:15 +0000
parents 056bd26615ea
children cf6662982b40
files src/prefs.c src/server.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/prefs.c	Fri Oct 13 18:17:50 2000 +0000
+++ b/src/prefs.c	Fri Oct 13 18:21:15 2000 +0000
@@ -474,6 +474,7 @@
 		gtk_tree_clear_items(GTK_TREE(ptree), 0, -1);
                 build_permit_tree();
                 serv_save_config();
+		do_export(0, 0);
 	}
 }
 
@@ -510,6 +511,8 @@
 
 static void permdest(GtkWidget *m, gpointer n)
 {
+	do_export(0, 0);
+	serv_save_config();
 	gtk_widget_destroy(permtree);
 	permtree = NULL;
 }
--- a/src/server.c	Fri Oct 13 18:17:50 2000 +0000
+++ b/src/server.c	Fri Oct 13 18:21:15 2000 +0000
@@ -367,6 +367,8 @@
 		}
 */
 	}
+	do_export(0, 0);
+	serv_save_config();
 }
 
 void serv_set_idle(struct gaim_connection *g, int time)