# HG changeset patch # User Eric Warmenhoven # Date 966316056 0 # Node ID 9b189d028b341e0fe170365f796c35607cd73684 # Parent 5422dbecd86104d4285b7d0225345c9ccbfecdb0 [gaim-migrate @ 692] this should stop flashing committer: Tailor Script diff -r 5422dbecd861 -r 9b189d028b34 src/prefs.c --- a/src/prefs.c Tue Aug 15 03:02:39 2000 +0000 +++ b/src/prefs.c Tue Aug 15 05:07:36 2000 +0000 @@ -160,7 +160,7 @@ else opt = 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_connect), (void *)which); + gtk_signal_connect(GTK_OBJECT(opt), "selected", GTK_SIGNAL_FUNC(set_connect), (void *)which); gtk_widget_show(opt); if (proxy_type == which) gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(opt), TRUE); @@ -440,13 +440,15 @@ static void set_permit(GtkWidget *w, int *data) { - permdeny = (int)data; - if (blist) { - /* We don't save this 'at home', it's on the server. - * So, we gotta resend the config to the server. */ - serv_save_config(); - /* we do this here because we can :) */ - serv_set_permit_deny(); + if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(w))) { + permdeny = (int)data; + if (blist) { + /* We don't save this 'at home', it's on the server. + * So, we gotta resend the config to the server. */ + serv_save_config(); + /* we do this here because we can :) */ + serv_set_permit_deny(); + } } }