X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-dialog-action-recode.c;h=7abe51df64c6f3e01a1150b745924046b648b41d;hb=7d4150d7cba15550753a0a574685de26656c0633;hp=6e8b222b47812273fdf77c6e5734777ec1680ebc;hpb=f9b2322d7b0662bd313d9c63450638c39b88be70;p=pspp diff --git a/src/ui/gui/psppire-dialog-action-recode.c b/src/ui/gui/psppire-dialog-action-recode.c index 6e8b222b47..7abe51df64 100644 --- a/src/ui/gui/psppire-dialog-action-recode.c +++ b/src/ui/gui/psppire-dialog-action-recode.c @@ -440,14 +440,6 @@ psppire_dialog_action_recode_refresh (PsppireDialogAction *rd_) } -static void -psppire_dialog_action_recode_activate (PsppireDialogAction *act) -{ - if (PSPPIRE_DIALOG_ACTION_CLASS (psppire_dialog_action_recode_parent_class)->activate) - PSPPIRE_DIALOG_ACTION_CLASS (psppire_dialog_action_recode_parent_class)->activate (act); -} - - void psppire_dialog_action_recode_pre_activate (PsppireDialogActionRecode *act, void (*populate_treeview) (PsppireDialogActionRecode *)) { @@ -463,7 +455,7 @@ psppire_dialog_action_recode_pre_activate (PsppireDialogActionRecode *act, void pda->dialog = get_widget_assert (xml, "recode-dialog"); pda->source = get_widget_assert (xml, "treeview1"); - + GtkWidget *selector = get_widget_assert (xml, "psppire-selector1"); GtkWidget *oldandnew = get_widget_assert (xml, "button1"); @@ -481,7 +473,7 @@ psppire_dialog_action_recode_pre_activate (PsppireDialogActionRecode *act, void if (populate_treeview) populate_treeview (act); - + psppire_selector_set_allow (PSPPIRE_SELECTOR (selector), homogeneous_types); /* Set up the Old & New Values subdialog */ @@ -609,7 +601,7 @@ psppire_dialog_action_recode_generate_syntax (const PsppireDialogAction *act, ds_init_empty (&dds); append_string_decls (rd, &dds); - + ds_put_cstr (&dds, "\nRECODE "); psppire_var_view_append_names_str (PSPPIRE_VAR_VIEW (rd->variable_treeview), 0, &dds); @@ -655,7 +647,7 @@ psppire_dialog_action_recode_generate_syntax (const PsppireDialogAction *act, ds_put_cstr (&dds, "."); append_new_value_labels (rd, &dds); - + ds_put_cstr (&dds, "\nEXECUTE.\n"); @@ -670,7 +662,6 @@ psppire_dialog_action_recode_generate_syntax (const PsppireDialogAction *act, static void psppire_dialog_action_recode_class_init (PsppireDialogActionRecodeClass *class) { - psppire_dialog_action_set_activation (class, psppire_dialog_action_recode_activate); }