Mercurial > pidgin
comparison src/gtkprivacy.c @ 8520:c1e44e6f9cb1
[gaim-migrate @ 9259]
Make privacy work correctly. Thanks to Luke and whoever it was that
pointed this out to him.
I'm feeling very annoyed right now. I don't know why.
We haven't released in about 2 months and 3 weeks.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 29 Mar 2004 23:19:11 +0000 |
parents | 3b8387166187 |
children | 267050247da9 |
comparison
equal
deleted
inserted
replaced
8519:f8ab826e11ad | 8520:c1e44e6f9cb1 |
---|---|
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 = menu_entries[gtk_option_menu_get_history(optmenu)].num; | 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 = new_type; |
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 |
249 gtk_widget_hide(dialog->allow_widget); | 249 gtk_widget_hide(dialog->allow_widget); |
250 gtk_widget_hide(dialog->block_widget); | 250 gtk_widget_hide(dialog->block_widget); |