+ act->opts_dialog = get_widget_assert (xml, "options-dialog");
+ act->conf_checkbox = get_widget_assert (xml, "checkbutton2");
+ act->conf_entry = get_widget_assert (xml, "spinbutton1");
+ act->const_checkbox = get_widget_assert (xml, "checkbutton1");
+
+ act->iterations_entry = get_widget_assert (xml, "spinbutton3");
+ act->cut_point_entry = get_widget_assert (xml, "spinbutton2");
+
+ opts_button = get_widget_assert (xml, "options-button");
+
+ g_signal_connect_swapped (opts_button, "clicked",
+ G_CALLBACK (on_opts_clicked), act);
+
+ g_signal_connect (act->conf_checkbox, "toggled",
+ G_CALLBACK (set_sensitivity_from_toggle),
+ act->conf_entry);
+
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(act->conf_checkbox), TRUE);
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(act->conf_checkbox), FALSE);