gui: Rename psppire_data_sheet_show_variable(). 20121109031952/pspp 20121110032021/pspp
authorBen Pfaff <blp@cs.stanford.edu>
Fri, 9 Nov 2012 06:51:52 +0000 (22:51 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Fri, 9 Nov 2012 06:51:52 +0000 (22:51 -0800)
psppire_data_sheet_goto_variable() is a more accurate name for the revised
behavior of this function.

src/ui/gui/find-dialog.c
src/ui/gui/psppire-data-editor.c
src/ui/gui/psppire-data-sheet.c
src/ui/gui/psppire-data-sheet.h

index 1bdf35e422cd86811168a7a26d03aad439d13d71..0e5aa22bd79cc7eab226cdb2e26b76ded6d97704 100644 (file)
@@ -119,7 +119,7 @@ do_find (GObject *obj, const struct find_dialog *fd)
                                     PSPPIRE_DATA_EDITOR_DATA_VIEW);
 
       psppire_data_sheet_goto_case (data_sheet, x);
-      psppire_data_sheet_show_variable (data_sheet, column);
+      psppire_data_sheet_goto_variable (data_sheet, column);
     }
 
 }
index e79bd4f47038b8824b2ca69ba601b30ffd0a2cc9..70086b500070d1b557eee74928b5231df83863b9 100644 (file)
@@ -339,7 +339,7 @@ on_var_sheet_var_double_clicked (PsppireVarSheet *var_sheet, gint dict_index,
                                  PSPPIRE_DATA_EDITOR_DATA_VIEW);
 
   data_sheet = psppire_data_editor_get_active_data_sheet (de);
-  psppire_data_sheet_show_variable (data_sheet, dict_index);
+  psppire_data_sheet_goto_variable (data_sheet, dict_index);
 
   return TRUE;
 }
@@ -862,7 +862,7 @@ psppire_data_editor_goto_variable (PsppireDataEditor *de, gint dict_index)
     {
     case PSPPIRE_DATA_EDITOR_DATA_VIEW:
       data_sheet = psppire_data_editor_get_active_data_sheet (de);
-      psppire_data_sheet_show_variable (data_sheet, dict_index);
+      psppire_data_sheet_goto_variable (data_sheet, dict_index);
       break;
 
     case PSPPIRE_DATA_EDITOR_VARIABLE_VIEW:
index 4960a838364c008167a8158bb3306c32c4702e7a..e1ecbbb924a005bd0646c62a3558765965814fa1 100644 (file)
@@ -1047,7 +1047,7 @@ psppire_data_sheet_find_column_for_variable (PsppireDataSheet *data_sheet,
 }
 
 void
-psppire_data_sheet_show_variable (PsppireDataSheet *data_sheet,
+psppire_data_sheet_goto_variable (PsppireDataSheet *data_sheet,
                                   gint dict_index)
 {
   PsppSheetView *sheet_view = PSPP_SHEET_VIEW (data_sheet);
index a94bad7c77c88872deec64152066603dc2f89b5c..9a395a8df30ab2a543b29e1cf7bd0de98ecfa35c 100644 (file)
@@ -86,7 +86,7 @@ void psppire_data_sheet_set_may_create_vars (PsppireDataSheet *, gboolean);
 gboolean psppire_data_sheet_get_may_delete_vars (PsppireDataSheet *);
 void psppire_data_sheet_set_may_delete_vars (PsppireDataSheet *, gboolean);
 
-void psppire_data_sheet_show_variable (PsppireDataSheet *, gint dict_index);
+void psppire_data_sheet_goto_variable (PsppireDataSheet *, gint dict_index);
 struct variable *psppire_data_sheet_get_current_variable (const PsppireDataSheet *);
 
 void psppire_data_sheet_goto_case (PsppireDataSheet *, gint case_index);