Fixed the refresh button on the dialogs.
[pspp-builds.git] / src / ui / gui / data-editor.h
index 67784021d8c3e0f9b576a515708caf323e697b3f..0fe62ea627fda1a6797b8c8a729856bcb726940c 100644 (file)
 struct data_editor
 {
   struct editor_window parent;
+
+  GtkAction *action_data_new;
+  GtkAction *action_data_open;
+  GtkAction *action_data_save_as;
+  GtkAction *action_data_save;
+
   GtkAction *invoke_weight_cases_dialog;
+  GtkAction *invoke_transpose_dialog;
+  GtkAction *invoke_split_file_dialog;
+
+  GtkAction *invoke_sort_cases_dialog;
+
   GladeXML *xml;
+
+  gboolean save_as_portable;
+
+  /* Name of the file this data is associated with (ie, was loaded from or
+     has been  saved to), in "filename encoding",  or NULL, if it's not
+     associated with any file */
+  gchar *file_name;
 };
 
 
@@ -37,8 +55,6 @@ struct data_editor * new_data_editor (void);
 
 void new_data_window (GtkMenuItem *, gpointer);
 
-void open_data_window (GtkMenuItem *, gpointer);
-
 void data_editor_select_sheet (struct data_editor *de, gint page);