diff src/gtkprivacy.c @ 10704:a4ae4fb7f939

[gaim-migrate @ 12288] Make the blist.xml saving schedule function public and call it whenever privacy settings are changed. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 20 Mar 2005 01:42:53 +0000
parents f175ff63d571
children 61c7edaca933
line wrap: on
line diff
--- a/src/gtkprivacy.c	Sun Mar 20 01:23:06 2005 +0000
+++ b/src/gtkprivacy.c	Sun Mar 20 01:42:53 2005 +0000
@@ -239,6 +239,10 @@
 	rebuild_block_list(dialog);
 }
 
+/*
+ * TODO: Setting the permit/deny setting needs to go through privacy.c
+ *       Even better: the privacy API needs to not suck.
+ */
 static void
 type_changed_cb(GtkOptionMenu *optmenu, GaimGtkPrivacyDialog *dialog)
 {
@@ -262,7 +266,7 @@
 		dialog->in_allow_list = FALSE;
 	}
 
-	gaim_blist_sync();
+	gaim_blist_schedule_save();
 }
 
 static void