comparison src/gtkprivacy.c @ 6378:01289157fc37

[gaim-migrate @ 6883] This solves the problem of 50 billion dialogs on your screen and server requests to re-authorize or re-deny everybody on every privacy list in your protocol. "Oops." committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 05 Aug 2003 18:59:57 +0000
parents 72023626d5b8
children b89d98f0bf79
comparison
equal deleted inserted replaced
6377:8cbf38789734 6378:01289157fc37
309 else 309 else
310 return; 310 return;
311 311
312 if (dialog->in_allow_list) { 312 if (dialog->in_allow_list) {
313 if (find_permit_block_by_name(dialog->account->permit, name)) 313 if (find_permit_block_by_name(dialog->account->permit, name))
314 gaim_privacy_permit_remove(dialog->account, name); 314 gaim_privacy_permit_remove(dialog->account, name, FALSE);
315 } 315 }
316 else { 316 else {
317 if (find_permit_block_by_name(dialog->account->deny, name)) 317 if (find_permit_block_by_name(dialog->account->deny, name))
318 gaim_privacy_deny_remove(dialog->account, name); 318 gaim_privacy_deny_remove(dialog->account, name, FALSE);
319 } 319 }
320 } 320 }
321 321
322 static void 322 static void
323 clear_cb(GtkWidget *button, GaimGtkPrivacyDialog *dialog) 323 clear_cb(GtkWidget *button, GaimGtkPrivacyDialog *dialog)
518 518
519 static void 519 static void
520 confirm_permit_block_cb(GaimGtkPrivacyRequestData *data, int option) 520 confirm_permit_block_cb(GaimGtkPrivacyRequestData *data, int option)
521 { 521 {
522 if (data->block) 522 if (data->block)
523 gaim_privacy_deny_add(data->account, data->name); 523 gaim_privacy_deny_add(data->account, data->name, FALSE);
524 else 524 else
525 gaim_privacy_permit_add(data->account, data->name); 525 gaim_privacy_permit_add(data->account, data->name, FALSE);
526 526
527 destroy_request_data(data); 527 destroy_request_data(data);
528 } 528 }
529 529
530 static void 530 static void