From 05fa57f30df52167a060f33fce1abd3719d569ee Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sun, 9 May 2010 18:07:25 +0200 Subject: [PATCH] Convert data-editor.glade to data-editor.ui --- src/ui/gui/automake.mk | 3 +- src/ui/gui/data-editor.glade | 1077 ------------------------------ src/ui/gui/data-editor.ui | 741 ++++++++++++++++++++ src/ui/gui/psppire-data-window.c | 220 ++---- 4 files changed, 810 insertions(+), 1231 deletions(-) delete mode 100644 src/ui/gui/data-editor.glade create mode 100644 src/ui/gui/data-editor.ui diff --git a/src/ui/gui/automake.mk b/src/ui/gui/automake.mk index d312e16f..52e77134 100644 --- a/src/ui/gui/automake.mk +++ b/src/ui/gui/automake.mk @@ -22,7 +22,7 @@ UI_FILES = \ src/ui/gui/text-data-import.ui \ src/ui/gui/var-sheet-dialogs.ui \ src/ui/gui/variable-info.ui \ - src/ui/gui/data-editor.glade \ + src/ui/gui/data-editor.ui \ src/ui/gui/output-viewer.glade \ src/ui/gui/syntax-editor.glade @@ -85,7 +85,6 @@ uninstall-icons: UNINSTALL_DATA_HOOKS += uninstall-icons nodist_src_ui_gui_psppire_DATA = \ - $(top_builddir)/src/ui/gui/data-editor.ui \ $(top_builddir)/src/ui/gui/output-viewer.ui \ $(top_builddir)/src/ui/gui/syntax-editor.ui diff --git a/src/ui/gui/data-editor.glade b/src/ui/gui/data-editor.glade deleted file mode 100644 index 479b4b9e..00000000 --- a/src/ui/gui/data-editor.glade +++ /dev/null @@ -1,1077 +0,0 @@ - - - - - - True - - - True - _File - True - - - - - gtk-new - True - True - True - - - - - True - _Syntax - True - - - - - True - _Data - True - - - - - - - - - gtk-open - True - True - True - - - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - _Import Delimited Text Data - True - - - - - True - - - - - gtk-save - True - True - True - - - - - gtk-save-as - True - True - True - - - - - True - - - - - True - D_isplay Data File Information - True - - - True - True - - - True - Working File - True - - - - - True - External File - True - - - - - - - - - True - - - - - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - Recently Used Da_ta - True - - - - - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - Recently Used _Files - True - - - - - True - - - - - gtk-quit - True - True - True - - - - - - - - - True - _Edit - True - - - - - True - False - Insert Variable - True - - - - - True - False - Insert Cases - True - - - - - Go To Case - True - False - True - True - - - - - True - False - - - - - gtk-cut - True - False - True - True - - - - - gtk-copy - True - False - True - True - - - - - gtk-paste - True - False - True - True - - - - - True - False - Cl_ear Variables - True - - - - - True - False - _Clear Cases - True - - - - - True - - - - - gtk-find - True - False - True - True - - - - - - - - - True - _View - True - - - - - True - _Status Bar - True - True - - - - - True - - - - - True - _Fonts - True - - - - - True - _Grid Lines - True - True - - - - - True - Value _Labels - True - - - - - True - - - - - True - _Data - True - - - - - True - _Variables - True - - - - - - - - - True - _Data - True - - - - - _Sort Cases - True - True - True - - - - - True - False - _Transpose - True - - - - - True - False - - - - - True - S_plit File - True - - - - - True - False - Select _Cases - True - - - - - True - _Weight Cases - True - - - - - - - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - _Transform - True - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - _Compute - True - - - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - Ran_k Cases - True - - - - - True - - - - - True - Recode into _Same Variables - True - - - - - True - Recode into _Different Variables - True - - - - - True - - - - - True - False - _Run Pending Transforms - True - - - - - - - - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - _Analyze - True - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - _Descriptive Statistics - True - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - _Frequencies - True - - - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - _Descriptives - True - - - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - _Explore - True - - - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - _Crosstabs - True - - - - - - - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - Compare _Means - True - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - _One Sample T Test - True - - - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - _Independent Samples T Test - True - - - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - _Paired Samples T Test - True - - - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - One Way _ANOVA - True - - - - - - - - - True - Bivariate _Correlation... - True - - - - - True - Factor _Analysis - True - - - - - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - Re_liability - True - - - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - Linear _Regression - True - - - - - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - _Non-Parametric Statistics - True - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - _Chi-Square - True - - - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - _Binomial - True - - - - - - - - - True - ROC Cur_ve... - True - - - - - - - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - _Utilities - True - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - _Variables - True - - - - - True - False - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - Data File _Comments - True - - - - - - - - - True - _Windows - True - - - - - True - _Minimize All Windows - True - - - - - True - _Split - True - - - - - - - - - True - _Help - True - - - - - _Reference Manual - True - True - - - - - _About - True - True - True - - - - - - - - - True - - - True - - - True - Open - gtk-open - - - False - True - - - - - True - Save - gtk-save - - - False - True - - - - - False - Print - gtk-print - - - False - True - - - - - False - Recall - gtk-missing-image - - - False - True - - - - - - False - - - - - False - Undo - gtk-undo - - - False - True - - - - - False - Redo - gtk-redo - - - False - True - - - - - True - - - False - - - - - True - False - Go To Case - gtk-jump-to - - - False - True - - - - - True - Variables - True - gtk-missing-image - - - False - True - - - - - True - - - False - - - - - True - False - Find - gtk-find - - - False - True - - - - - True - - - False - - - - - True - False - Insert Case - True - gtk-missing-image - - - False - True - - - - - True - False - Insert Variable - True - gtk-missing-image - - - False - True - - - - - True - - - False - - - - - True - Split File - True - gtk-missing-image - - - False - True - - - - - True - Weight Cases - True - gtk-missing-image - - - False - True - - - - - True - False - Select Cases - True - gtk-missing-image - - - False - True - - - - - True - - - False - - - - - True - Value Labels - True - gtk-missing-image - - - False - True - - - - - False - Use Sets - True - - - False - True - - - - - - - True - 6 - - - True - 0 - in - - - True - Information Area - - - True - True - - - - - - - 0 - - - - - True - 0 - in - - - True - Processor Area - - - True - 35 - True - - - - - - - False - False - 1 - - - - - True - 0 - in - - - True - Case Counter Area - - - True - 20 - True - - - - - - - False - False - 3 - - - - - True - 0 - in - - - True - Filter Use Status Area - - - True - start - 10 - True - - - - - - - False - False - 4 - - - - - True - 0 - in - - - True - Weight Status Area - - - True - start - 15 - True - - - - - - - False - False - 5 - - - - - True - 0 - in - - - True - Split File Status Area - - - True - start - 15 - True - - - - - - - False - False - 6 - - - - diff --git a/src/ui/gui/data-editor.ui b/src/ui/gui/data-editor.ui new file mode 100644 index 00000000..64e40e6d --- /dev/null +++ b/src/ui/gui/data-editor.ui @@ -0,0 +1,741 @@ + + + + + + + + file + _File + + + + + gtk-new + new1 + + + + + file_new_syntax + _Syntax + + + + + file_new_data + _Data + + + + + gtk-open + file_open + + + + + file_import-text + _Import Delimited Text Data + + + + + gtk-save + file_save + + + + + gtk-save-as + file_save_as + + + + + file-information + D_isplay Data File Information + + + + + file_information_working-file + Working File + + + + + file_information_external-file + External File + + + + + file_recent-data + Recently Used Da_ta + + + + + file_recent-files + Recently Used _Files + + + + + gtk-quit + file_quit + + + + + edit + _Edit + + + + + action_insert-variable + Insert Variable + Create a new variable at the current position + pspp-insert-variable + + + + + edit_insert-case + Insert Cases + Create a new case at the current position + pspp-insert-case + + + + + Go To Case + edit_goto-case + Jump to a case in the data sheet + gtk-jump-to + + + + + + gtk-cut + edit_cut + + + + + gtk-copy + edit_copy + + + + + gtk-paste + edit_paste + + + + + edit_clear-variables + Cl_ear Variables + + + + + edit_clear-cases + _Clear Cases + + + + + gtk-find + edit_find + + + + + view + _View + + + + + True + view_statusbar + _Status Bar + + + + + view_fonts + _Fonts + + + + + True + view_gridlines + _Grid Lines + + + + + view_value-labels + Value _Labels + Show/hide value labels + pspp-value-labels + + + + + view_data + _Data + + + + + view_variables + _Variables + + + + + data + _Data + + + + + _Sort Cases + data_sort-cases + + + + + data_transpose + _Transpose + + + + + data_split-file + S_plit File + Split the active file + pspp-split-file + + + + + data_select-cases + Select _Cases + + + + + data_weight-cases + _Weight Cases + Weight cases by variable + pspp-weight-cases + + + + + transform + _Transform + + + + + transform_compute + _Compute + + + + + transform_rank + Ran_k Cases + + + + + transform_recode-same + Recode into _Same Variables + + + + + transform_recode-different + Recode into _Different Variables + + + + + transform_run-pending + _Run Pending Transforms + + + + + + analyze + _Analyze + + + + + descriptive-statistics + _Descriptive Statistics + + + + + analyze_frequencies + _Frequencies + + + + + analyze_descriptives + _Descriptives + + + + + analyze_explore + _Explore + + + + + crosstabs + _Crosstabs + + + + + compare-means + Compare _Means + + + + + one-sample-t-test + _One Sample T Test + + + + + indep-t-test + _Independent Samples T Test + + + + + paired-t-test + _Paired Samples T Test + + + + + oneway-anova + One Way _ANOVA + + + + + correlation + Bivariate _Correlation... + + + + + factor-analysis + Factor _Analysis + + + + + reliability + Re_liability + + + + + linear-regression + Linear _Regression + + + + + non-parametrics + _Non-Parametric Statistics + + + + + chi-square + _Chi-Square + + + + + binomial + _Binomial + + + + + roc-curve + ROC Cur_ve... + + + + + utilities + _Utilities + + + + + utilities_variables + _Variables + Jump to variable + pspp-goto-variable + + + + + utilities_comments + Data File _Comments + + + + + windows + _Windows + + + + + windows_minimise_all + _Minimize All Windows + + + + + windows_split + _Split + + + + + help + _Help + + + + + help_reference + _Reference Manual + + + + + _About + help_about + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + True + + + True + + + True + + + + + + True + 6 + + + True + 0 + in + + + True + Information Area + + + True + True + + + + + + + 0 + + + + + True + 0 + in + + + True + Processor Area + + + True + 35 + True + + + + + + + False + False + 1 + + + + + True + 0 + in + + + True + Case Counter Area + + + True + 20 + True + + + + + + + False + False + 3 + + + + + True + 0 + in + + + True + Filter Use Status Area + + + True + start + 10 + True + + + + + + + False + False + 4 + + + + + True + 0 + in + + + True + Weight Status Area + + + True + start + 15 + True + + + + + + + False + False + 5 + + + + + True + 0 + in + + + True + Split File Status Area + + + True + start + 15 + True + + + + + + + False + False + 6 + + + + diff --git a/src/ui/gui/psppire-data-window.c b/src/ui/gui/psppire-data-window.c index 00dba993..6f3fdd46 100644 --- a/src/ui/gui/psppire-data-window.c +++ b/src/ui/gui/psppire-data-window.c @@ -549,8 +549,8 @@ insert_case (GtkAction *action, gpointer data) static void on_insert_variable (GtkAction *action, gpointer data) { - PsppireDataEditor *de = PSPPIRE_DATA_EDITOR (data); - psppire_data_editor_insert_variable (de); + PsppireDataWindow *dw = PSPPIRE_DATA_WINDOW (data); + psppire_data_editor_insert_variable (dw->data_editor); } @@ -1193,24 +1193,6 @@ psppire_data_window_init (PsppireDataWindow *de) - { - GtkWidget *toolbarbutton = get_widget_assert (de->builder, "button-open"); - - GtkAction *action_data_open = - resolve_action (de->builder, "file_open", NULL); - - g_object_set (action_data_open, - "tooltip", _("Open a data or syntax file"), - "stock-id", "gtk-open", - NULL); - - g_signal_connect (action_data_open, "activate", - G_CALLBACK (open_window), de); - - g_signal_connect_swapped (toolbarbutton, "clicked", - G_CALLBACK (gtk_action_activate), action_data_open); - } - { @@ -1244,21 +1226,19 @@ psppire_data_window_init (PsppireDataWindow *de) { - GtkAction *action_data_save = - resolve_action (de->builder, "file_save", "button-save"); - - - g_object_set (action_data_save, - "tooltip", _("Save data to file"), - "stock-id", "gtk-save", - NULL); + GtkAction *action_data_save = get_action_assert (de->builder, "file_save"); g_signal_connect_swapped (action_data_save, "activate", - G_CALLBACK (data_save), de); + G_CALLBACK (data_save), de); } + { + GtkAction *action_data_open = get_action_assert (de->builder, "file_open"); + g_signal_connect (action_data_open, "activate", + G_CALLBACK (open_window), de); + } { GtkAction *action_data_save_as = @@ -1297,24 +1277,38 @@ psppire_data_window_init (PsppireDataWindow *de) - { - GtkAction *value_labels_action = - resolve_action (de->builder, - "view_value-labels", "togglebutton-value-labels"); - g_object_set (value_labels_action, - "tooltip", _("Show/hide value labels"), - "stock-id", "pspp-value-labels", - NULL); + g_signal_connect (get_action_assert (de->builder, "edit_paste"), "activate", + G_CALLBACK (on_edit_paste), + de); - g_signal_connect (value_labels_action, "toggled", - G_CALLBACK (toggle_value_labels), de); + { + de->insert_case = get_action_assert (de->builder, "edit_insert-case"); + g_signal_connect (de->insert_case, "activate", + G_CALLBACK (insert_case), + de); + } + { + de->insert_variable = get_action_assert (de->builder, "action_insert-variable"); - g_signal_connect (get_action_assert (de->builder, "edit_paste"), "activate", - G_CALLBACK (on_edit_paste), + g_signal_connect (de->insert_variable, "activate", + G_CALLBACK (on_insert_variable), de); + + + } + + de->invoke_goto_dialog = get_action_assert (de->builder, "edit_goto-case"); + g_signal_connect (de->invoke_goto_dialog, "activate", G_CALLBACK (goto_case_dialog), de); + + + { + GtkAction *value_labels_action = get_action_assert (de->builder, "view_value-labels"); + g_signal_connect (value_labels_action, "toggled", + G_CALLBACK (toggle_value_labels), de); + } { de->delete_cases = @@ -1354,65 +1348,6 @@ psppire_data_window_init (PsppireDataWindow *de) } - de->insert_variable = - resolve_action (de->builder, "edit_insert-variable", - "button-insert-variable"); - - g_object_set (de->insert_variable, - "tooltip", _("Create a new variable at the current position"), - "stock-id", "pspp-insert-variable", - NULL); - - g_signal_connect (de->insert_variable, "activate", - G_CALLBACK (on_insert_variable), de->data_editor); - - - - - - de->insert_case = - resolve_action (de->builder, "edit_insert-case", "button-insert-case"); - - g_object_set (de->insert_case, - "tooltip", _("Create a new case at the current position"), - "stock-id", "pspp-insert-case", - NULL); - - g_signal_connect (de->insert_case, "activate", - G_CALLBACK (insert_case), de); - - - - - - de->invoke_goto_dialog = - resolve_action (de->builder, "edit_goto-case", "button-goto-case"); - - - g_object_set (de->invoke_goto_dialog, - "tooltip", _("Jump to a Case in the Data Sheet"), - "stock-id", "gtk-jump-to", - NULL); - - g_signal_connect (de->invoke_goto_dialog, "activate", - G_CALLBACK (goto_case_dialog), de); - - - - { - GtkAction *invoke_weight_cases_dialog = - resolve_action (de->builder, "data_weight-cases", "button-weight-cases"); - - - g_object_set (invoke_weight_cases_dialog, - "stock-id", "pspp-weight-cases", - "tooltip", _("Weight cases by variable"), - NULL); - - g_signal_connect (invoke_weight_cases_dialog, "activate", - G_CALLBACK (weight_cases_dialog), de); - } - { GtkAction *invoke_transpose_dialog = @@ -1429,20 +1364,6 @@ psppire_data_window_init (PsppireDataWindow *de) } - { - GtkAction *invoke_split_file_dialog = - resolve_action (de->builder, "data_split-file", "button-split-file"); - - g_object_set (invoke_split_file_dialog, - "tooltip", _("Split the active file"), - "stock-id", "pspp-split-file", - NULL); - - g_signal_connect (invoke_split_file_dialog, "activate", - G_CALLBACK (split_file_dialog), de); - } - - { GtkAction *invoke_sort_cases_dialog = resolve_action (de->builder, "data_sort-cases", NULL); @@ -1458,19 +1379,6 @@ psppire_data_window_init (PsppireDataWindow *de) } - { - GtkAction *invoke_select_cases_dialog = - resolve_action (de->builder, "data_select-cases", "button-select-cases"); - - g_object_set (invoke_select_cases_dialog, - "tooltip", _("Select cases from the active file"), - "stock-id", "pspp-select-cases", - NULL); - - g_signal_connect (invoke_select_cases_dialog, "activate", - G_CALLBACK (select_cases_dialog), de); - } - { GtkAction *invoke_compute_dialog = @@ -1485,6 +1393,39 @@ psppire_data_window_init (PsppireDataWindow *de) G_CALLBACK (compute_dialog), de); } + { + GtkAction *invoke_find_dialog = get_action_assert (de->builder, "edit_find"); + + g_signal_connect (invoke_find_dialog, "activate", + G_CALLBACK (find_dialog), de); + } + + + { + GtkAction *invoke_split_file_dialog = get_action_assert (de->builder, "data_split-file"); + + g_signal_connect (invoke_split_file_dialog, "activate", + G_CALLBACK (split_file_dialog), de); + } + + + { + GtkAction *invoke_weight_cases_dialog = get_action_assert (de->builder, "data_weight-cases"); + + g_signal_connect (invoke_weight_cases_dialog, "activate", + G_CALLBACK (weight_cases_dialog), de); + } + + + + { + GtkAction *invoke_variable_info_dialog = get_action_assert (de->builder, "utilities_variables"); + + g_signal_connect (invoke_variable_info_dialog, "activate", + G_CALLBACK (variable_info_dialog), de); + } + + { GtkAction *invoke_oneway_anova_dialog = @@ -1558,17 +1499,6 @@ psppire_data_window_init (PsppireDataWindow *de) - { - GtkAction *invoke_find_dialog = - resolve_action (de->builder, "edit_find", "button-find"); - - g_object_set (invoke_find_dialog, "stock-id", "gtk-find", NULL); - - g_signal_connect (invoke_find_dialog, "activate", - G_CALLBACK (find_dialog), de); - } - - { GtkAction *invoke_rank_dialog = resolve_action (de->builder, "transform_rank", NULL); @@ -1611,20 +1541,6 @@ psppire_data_window_init (PsppireDataWindow *de) } - { - GtkAction *invoke_variable_info_dialog = - resolve_action (de->builder, "utilities_variables", "button-goto-variable"); - - g_object_set (invoke_variable_info_dialog, - "stock-id", "pspp-goto-variable", - "tooltip", _("Jump to variable"), - NULL); - - g_signal_connect (invoke_variable_info_dialog, "activate", - G_CALLBACK (variable_info_dialog), de); - } - - { GtkAction *invoke_descriptives_dialog = resolve_action (de->builder, "analyze_descriptives", NULL); -- 2.30.2