Re enable the connect_help function
[pspp-builds.git] / src / ui / gui / psppire-var-sheet.c
index d914866658b67ca6982505d4aa72f888e5899482..ed9a426870872ce42729609ef29d2f027075e424 100644 (file)
@@ -18,7 +18,6 @@
 #include "psppire-var-sheet.h"
 #include <ui/gui/sheet/psppire-axis-impl.h>
 
-#include <glade/glade.h>
 #include "helper.h"
 
 #include "customentry.h"
@@ -486,13 +485,15 @@ var_sheet_change_active_cell (PsppireVarSheet *vs,
 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);
+  connect_help (builder);
+
+  g_object_unref (builder);
 
   vs->dispose_has_run = FALSE;
   vs->may_create_vars = TRUE;