From 21bed3a6d98451db78a9f327e951080e42b44387 Mon Sep 17 00:00:00 2001
From: Ben Pfaff <blp@cs.stanford.edu>
Date: Thu, 8 Nov 2012 22:51:52 -0800
Subject: [PATCH] gui: Rename psppire_data_sheet_show_variable().

psppire_data_sheet_goto_variable() is a more accurate name for the revised
behavior of this function.
---
 src/ui/gui/find-dialog.c         | 2 +-
 src/ui/gui/psppire-data-editor.c | 4 ++--
 src/ui/gui/psppire-data-sheet.c  | 2 +-
 src/ui/gui/psppire-data-sheet.h  | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/ui/gui/find-dialog.c b/src/ui/gui/find-dialog.c
index 1bdf35e422..0e5aa22bd7 100644
--- a/src/ui/gui/find-dialog.c
+++ b/src/ui/gui/find-dialog.c
@@ -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);
     }
 
 }
diff --git a/src/ui/gui/psppire-data-editor.c b/src/ui/gui/psppire-data-editor.c
index e79bd4f470..70086b5000 100644
--- a/src/ui/gui/psppire-data-editor.c
+++ b/src/ui/gui/psppire-data-editor.c
@@ -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:
diff --git a/src/ui/gui/psppire-data-sheet.c b/src/ui/gui/psppire-data-sheet.c
index 4960a83836..e1ecbbb924 100644
--- a/src/ui/gui/psppire-data-sheet.c
+++ b/src/ui/gui/psppire-data-sheet.c
@@ -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);
diff --git a/src/ui/gui/psppire-data-sheet.h b/src/ui/gui/psppire-data-sheet.h
index a94bad7c77..9a395a8df3 100644
--- a/src/ui/gui/psppire-data-sheet.h
+++ b/src/ui/gui/psppire-data-sheet.h
@@ -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);
-- 
2.30.2