comparison pidgin/gtkprivacy.c @ 22261:79b30c9e5937

Remove the privacy prpl callbacks in Zephyr since they're basically a no-op. purple_privacy_permit_add calls serv_add_permit which calls zephyr_add_permit which calls purple_privacy_permit_add which does nothing because the buddy already exists in the permit list. Likewise for the other three functions. And zephyr_set_permit_deny wasn't even doing anything.
author Mark Doliner <mark@kingant.net>
date Sun, 03 Feb 2008 19:38:02 +0000
parents b4612f57003b
children 93876452633b
comparison
equal deleted inserted replaced
22260:b13bb5f49ecd 22261:79b30c9e5937
408 dialog->add_button = button; 408 dialog->add_button = button;
409 409
410 /* Remove button */ 410 /* Remove button */
411 button = pidgin_dialog_add_button(GTK_DIALOG(dialog->win), GTK_STOCK_REMOVE, G_CALLBACK(remove_cb), dialog); 411 button = pidgin_dialog_add_button(GTK_DIALOG(dialog->win), GTK_STOCK_REMOVE, G_CALLBACK(remove_cb), dialog);
412 dialog->remove_button = button; 412 dialog->remove_button = button;
413 /* TODO: This button should be sensitive/invisitive more cleverly */
413 gtk_widget_set_sensitive(button, FALSE); 414 gtk_widget_set_sensitive(button, FALSE);
414 415
415 /* Remove All button */ 416 /* Remove All button */
416 button = pidgin_dialog_add_button(GTK_DIALOG(dialog->win), _("Remove Al_l"), G_CALLBACK(removeall_cb), dialog); 417 button = pidgin_dialog_add_button(GTK_DIALOG(dialog->win), _("Remove Al_l"), G_CALLBACK(removeall_cb), dialog);
417 dialog->removeall_button = button; 418 dialog->removeall_button = button;