Mercurial > pidgin
changeset 2322:2752abc68646
[gaim-migrate @ 2332]
(01:41:28) mid: does it work?
(01:41:32) Eric: does what work
(01:41:41) mid: whatever you're testing
(01:41:46) Eric: yeah, it does.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 20 Sep 2001 08:42:14 +0000 |
parents | a2da18405b64 |
children | bde2481bb4db |
files | src/prefs.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/prefs.c Thu Sep 20 08:33:42 2001 +0000 +++ b/src/prefs.c Thu Sep 20 08:42:14 2001 +0000 @@ -1839,6 +1839,9 @@ static void set_deny_mode(GtkWidget *w, int data) { + if (!gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(w))) + return; + debug_printf("setting deny mode %d\n", data); current_deny_gc->permdeny = data; serv_set_permit_deny(current_deny_gc); do_export(current_deny_gc); @@ -1855,7 +1858,7 @@ gtk_radio_button_new_with_label(gtk_radio_button_group(GTK_RADIO_BUTTON(set)), label); gtk_box_pack_start(GTK_BOX(box), opt, FALSE, FALSE, 0); - gtk_signal_connect(GTK_OBJECT(opt), "clicked", GTK_SIGNAL_FUNC(set_deny_mode), (void *)which); + gtk_signal_connect(GTK_OBJECT(opt), "toggled", GTK_SIGNAL_FUNC(set_deny_mode), (void *)which); gtk_widget_show(opt); if (current_deny_gc->permdeny == which) gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(opt), TRUE);