X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fui%2Fgui%2Fpsppire-dialog-action-examine.c;h=b81a2429d59dc4490b3f1f396eb49aacc62a2163;hb=37c21ba9301956091823dea7d84ff0400330bd4b;hp=d8742703dd0ddcf3fe873933dbeb5c10be701a1c;hpb=45ca175f33ff07d6f9214698a776097075d07045;p=pspp diff --git a/src/ui/gui/psppire-dialog-action-examine.c b/src/ui/gui/psppire-dialog-action-examine.c index d8742703dd..b81a2429d5 100644 --- a/src/ui/gui/psppire-dialog-action-examine.c +++ b/src/ui/gui/psppire-dialog-action-examine.c @@ -127,6 +127,12 @@ run_plots_dialog (PsppireDialogActionExamine *ed) gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (ed->histogram_button), ed->histogram); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (ed->npplots_button), ed->npplots); + g_signal_connect (ed->spread_trans_button, "toggled", + G_CALLBACK (set_sensitivity_from_toggle), + ed->spread_power_combo); + gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (ed->spread_trans_button), FALSE); + gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (ed->spread_trans_button), TRUE); + switch (ed->spreadlevel) { case SPREAD_NONE: @@ -276,7 +282,7 @@ generate_syntax (const PsppireDialogAction *act) g_string_append (str, " SPREADLEVEL"); if (ed->spreadlevel != SPREAD_POWER) { - gchar *power = NULL; + const gchar *power = NULL; if (ed->spreadlevel == SPREAD_TRANS) switch (ed->spreadpower) {