changeset 8275:3b8387166187

[gaim-migrate @ 8999] Make the list of people show up when "allow only the users below" is selected in privacy. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 17 Feb 2004 02:34:09 +0000
parents 0d9559f3bd2e
children 3c49a619969f
files src/gtkprivacy.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkprivacy.c	Tue Feb 17 02:23:35 2004 +0000
+++ b/src/gtkprivacy.c	Tue Feb 17 02:34:09 2004 +0000
@@ -240,7 +240,7 @@
 static void
 type_changed_cb(GtkOptionMenu *optmenu, GaimGtkPrivacyDialog *dialog)
 {
-	int new_type = gtk_option_menu_get_history(optmenu);
+	int new_type = menu_entries[gtk_option_menu_get_history(optmenu)].num;
 
 	dialog->account->perm_deny = menu_entries[new_type].num;
 	serv_set_permit_deny(gaim_account_get_connection(dialog->account));