Fixed a lot of internationalisation issues.
[pspp-builds.git] / src / ui / gui / data-sheet.c
index 20869dcb0b0939466fdb16e3847779a83c8ca547..a2a420dc62e91f3fb3064e8e830ca631fbfe60b5 100644 (file)
@@ -40,8 +40,6 @@
 #include "menu-actions.h"
 #include "data-sheet.h"
 
-#define _(A) A
-#define N_(A) A
 
 
 extern GladeXML *xml;
@@ -84,8 +82,8 @@ click2column(GtkWidget *w, gint col, gpointer data)
 
 
 /* Update the data_ref_entry with the reference of the active cell */
-static gint 
-update_data_ref_entry(GtkSheet *sheet, gint row, gint col)
+gint 
+update_data_ref_entry(const GtkSheet *sheet, gint row, gint col)
 {
 
   /* The entry where the reference to the current cell is displayed */
@@ -150,6 +148,7 @@ psppire_data_sheet_create (gchar *widget_name, gchar *string1, gchar *string2,
                    GTK_SIGNAL_FUNC (click2column),
                    0);
 
+  gtk_sheet_set_active_cell(GTK_SHEET(sheet), -1, -1);
   gtk_widget_show(sheet);
 
   return sheet;