changeset 1125:1a3dbc0e6529

[gaim-migrate @ 1135] this is a minor detail but it's still a nice touch committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 22 Nov 2000 13:04:26 +0000
parents a70d5200edde
children c8118e7ec981
files src/dialogs.c src/gaim.h src/prefs.c
diffstat 3 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dialogs.c	Wed Nov 22 12:58:27 2000 +0000
+++ b/src/dialogs.c	Wed Nov 22 13:04:26 2000 +0000
@@ -1741,8 +1741,10 @@
         }
 
         if (d) {
+		build_block_list();
 		serv_add_deny(p->gc, name);
         } else {
+		build_allow_list();
 		serv_add_permit(p->gc, name);
         }
 
--- a/src/gaim.h	Wed Nov 22 12:58:27 2000 +0000
+++ b/src/gaim.h	Wed Nov 22 13:04:26 2000 +0000
@@ -699,6 +699,8 @@
 extern void set_default_away(GtkWidget *, gpointer);
 extern void default_away_menu_init(GtkWidget *);
 extern void update_connection_dependent_prefs();
+extern void build_allow_list();
+extern void build_block_list();
 extern GtkWidget *prefs_away_list;
 extern GtkWidget *prefs_away_menu;
 extern GtkWidget *pref_fg_picture;
--- a/src/prefs.c	Wed Nov 22 12:58:27 2000 +0000
+++ b/src/prefs.c	Wed Nov 22 13:04:26 2000 +0000
@@ -1393,7 +1393,7 @@
 	block_list = NULL;
 }
 
-static void build_allow_list()
+void build_allow_list()
 {
 	GtkWidget *label;
 	GtkWidget *list_item;