nodist_src_ui_gui_psppire_DATA = \
$(top_builddir)/src/ui/gui/crosstabs.ui \
+ $(top_builddir)/src/ui/gui/data-editor.ui \
$(top_builddir)/src/ui/gui/examine.ui \
$(top_builddir)/src/ui/gui/frequencies.ui \
$(top_builddir)/src/ui/gui/message-dialog.ui \
#include <gtk/gtk.h>
-#include <glade/glade.h>
#include <string.h>
/* Creates the dialog structure from the xml */
struct missing_val_dialog *
-missing_val_dialog_create (GladeXML *xml)
+missing_val_dialog_create (GtkBuilder *xml)
{
struct missing_val_dialog *dialog = g_malloc (sizeof (*dialog));
- connect_help (xml);
+ // connect_help (xml);
dialog->window = get_widget_assert (xml, "missing_values_dialog");
GtkWidget *discrete;
};
-struct missing_val_dialog * missing_val_dialog_create (GladeXML *xml);
+struct missing_val_dialog * missing_val_dialog_create (GtkBuilder *xml);
void missing_val_dialog_show (struct missing_val_dialog *dialog);
#include "psppire-var-sheet.h"
#include <ui/gui/sheet/psppire-axis-impl.h>
-#include <glade/glade.h>
#include "helper.h"
#include "customentry.h"
static void
psppire_var_sheet_init (PsppireVarSheet *vs)
{
- GladeXML *xml = XML_NEW ("data-editor.glade");
+ GtkBuilder *builder = builder_new ("data-editor.ui");
- vs->val_labs_dialog = val_labs_dialog_create (xml);
- vs->missing_val_dialog = missing_val_dialog_create (xml);
- vs->var_type_dialog = var_type_dialog_create (xml);
+ vs->val_labs_dialog = val_labs_dialog_create (builder);
+ vs->missing_val_dialog = missing_val_dialog_create (builder);
+ vs->var_type_dialog = var_type_dialog_create (builder);
- g_object_unref (xml);
+ g_object_unref (builder);
vs->dispose_has_run = FALSE;
vs->may_create_vars = TRUE;
/* Create a new dialog box
(there should normally be only one)*/
struct val_labs_dialog *
-val_labs_dialog_create (GladeXML *xml)
+val_labs_dialog_create (GtkBuilder *xml)
{
GtkTreeViewColumn *column;
struct val_labs_dialog *dialog = g_malloc (sizeof (*dialog));
- connect_help (xml);
+ // connect_help (xml);
dialog->window = get_widget_assert (xml,"val_labs_dialog");
dialog->value_entry = get_widget_assert (xml,"value_entry");
struct val_labs;
-struct val_labs_dialog * val_labs_dialog_create (GladeXML *);
+struct val_labs_dialog * val_labs_dialog_create (GtkBuilder *);
void val_labs_dialog_show (struct val_labs_dialog *);
#include <config.h>
#include <gtk/gtk.h>
-#include <glade/glade.h>
#include <stdlib.h>
#include <string.h>
/* Create the structure from the XML definitions */
struct var_type_dialog *
-var_type_dialog_create (GladeXML *xml)
+var_type_dialog_create (GtkBuilder *xml)
{
gint i;
struct var_type_dialog *dialog = g_malloc (sizeof (struct var_type_dialog));
};
-struct var_type_dialog * var_type_dialog_create (GladeXML *xml);
+struct var_type_dialog * var_type_dialog_create (GtkBuilder *xml);
void var_type_dialog_set_variable (struct var_type_dialog *dialog,