Mercurial > pidgin.yaz
comparison src/gtkprivacy.c @ 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 | f347c8d25cf5 |
children | c1e44e6f9cb1 |
comparison
equal
deleted
inserted
replaced
8274:0d9559f3bd2e | 8275:3b8387166187 |
---|---|
238 } | 238 } |
239 | 239 |
240 static void | 240 static void |
241 type_changed_cb(GtkOptionMenu *optmenu, GaimGtkPrivacyDialog *dialog) | 241 type_changed_cb(GtkOptionMenu *optmenu, GaimGtkPrivacyDialog *dialog) |
242 { | 242 { |
243 int new_type = gtk_option_menu_get_history(optmenu); | 243 int new_type = menu_entries[gtk_option_menu_get_history(optmenu)].num; |
244 | 244 |
245 dialog->account->perm_deny = menu_entries[new_type].num; | 245 dialog->account->perm_deny = menu_entries[new_type].num; |
246 serv_set_permit_deny(gaim_account_get_connection(dialog->account)); | 246 serv_set_permit_deny(gaim_account_get_connection(dialog->account)); |
247 gaim_blist_save(); | 247 gaim_blist_save(); |
248 | 248 |