comparison src/gtkprivacy.c @ 9285:7a8aa87164ae

[gaim-migrate @ 10088] Ok I'm done. This started out as shx's patch to make add/remove buddy/buddies take GaimBuddy and GaimGroup's in various places. I think his diff was like 2000 lines and mine is like 5000. I tried to clean up blist.c a bit and make it more uniform. There are some more g_return_if_fail() checks. Removed some code that was deprecated--it's probably been long enough. Removed some #include <multi.h>'s. Make blist.xml saving happen on a timer, like prefs.xml and accounts.xml. Sorry if this doesn't merge cleanly with whatever you're doing. People should really test this a lot. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 15 Jun 2004 02:37:27 +0000
parents b875f5d57b81
children 03be9d653123
comparison
equal deleted inserted replaced
9284:fe0291162312 9285:7a8aa87164ae
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 = new_type; 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();
248 247
249 gtk_widget_hide(dialog->allow_widget); 248 gtk_widget_hide(dialog->allow_widget);
250 gtk_widget_hide(dialog->block_widget); 249 gtk_widget_hide(dialog->block_widget);
251 gtk_widget_hide(dialog->button_box); 250 gtk_widget_hide(dialog->button_box);
252 251