repair glade; switched to gladeui-2.0; removed the internal-child in psppire-dialog.
authorFriedrich Beckmann <friedrich.beckmann@gmx.de>
Fri, 22 May 2015 07:44:19 +0000 (09:44 +0200)
committerFriedrich Beckmann <friedrich.beckmann@gmx.de>
Sun, 24 May 2015 11:54:50 +0000 (13:54 +0200)
75 files changed:
README.Git
configure.ac
glade/acr.c [deleted file]
glade/automake.mk
glade/bbox.c [deleted file]
glade/dialog.c [deleted file]
glade/dictview.c [deleted file]
glade/icons/16x16/psppire-acr.png [deleted file]
glade/icons/16x16/psppire-dialog.png [deleted file]
glade/icons/16x16/psppire-hbuttonbox.png [deleted file]
glade/icons/16x16/psppire-keypad.png [deleted file]
glade/icons/16x16/psppire-selector.png [deleted file]
glade/icons/16x16/psppire-vbuttonbox.png [deleted file]
glade/icons/16x16/widget-psppire-psppire-acr.png [new file with mode: 0644]
glade/icons/16x16/widget-psppire-psppire-dialog.png [new file with mode: 0644]
glade/icons/16x16/widget-psppire-psppire-hbuttonbox.png [new file with mode: 0644]
glade/icons/16x16/widget-psppire-psppire-keypad.png [new file with mode: 0644]
glade/icons/16x16/widget-psppire-psppire-selector.png [new file with mode: 0644]
glade/icons/16x16/widget-psppire-psppire-vbuttonbox.png [new file with mode: 0644]
glade/icons/22x22/psppire-acr.png [deleted file]
glade/icons/22x22/psppire-dialog.png [deleted file]
glade/icons/22x22/psppire-hbuttonbox.png [deleted file]
glade/icons/22x22/psppire-keypad.png [deleted file]
glade/icons/22x22/psppire-selector.png [deleted file]
glade/icons/22x22/psppire-vbuttonbox.png [deleted file]
glade/icons/22x22/widget-psppire-psppire-acr.png [new file with mode: 0644]
glade/icons/22x22/widget-psppire-psppire-dialog.png [new file with mode: 0644]
glade/icons/22x22/widget-psppire-psppire-hbuttonbox.png [new file with mode: 0644]
glade/icons/22x22/widget-psppire-psppire-keypad.png [new file with mode: 0644]
glade/icons/22x22/widget-psppire-psppire-selector.png [new file with mode: 0644]
glade/icons/22x22/widget-psppire-psppire-vbuttonbox.png [new file with mode: 0644]
glade/psppire.xml
glade/selector.c [deleted file]
glade/var-view.c [deleted file]
src/ui/gui/aggregate.ui
src/ui/gui/autorecode.ui
src/ui/gui/binomial.ui
src/ui/gui/chi-square.ui
src/ui/gui/compute.ui
src/ui/gui/correlation.ui
src/ui/gui/count.ui
src/ui/gui/crosstabs.ui
src/ui/gui/descriptives.ui
src/ui/gui/entry-dialog.ui
src/ui/gui/examine.ui
src/ui/gui/factor.ui
src/ui/gui/find.ui
src/ui/gui/frequencies.ui
src/ui/gui/goto-case.ui
src/ui/gui/indep-samples.ui
src/ui/gui/k-means.ui
src/ui/gui/k-related.ui
src/ui/gui/ks-one-sample.ui
src/ui/gui/logistic.ui
src/ui/gui/means.ui
src/ui/gui/missing-val-dialog.c
src/ui/gui/oneway.ui
src/ui/gui/paired-samples.ui
src/ui/gui/psppire-dialog.c
src/ui/gui/psppire-dialog.h
src/ui/gui/psppire.ui
src/ui/gui/rank.ui
src/ui/gui/recode.ui
src/ui/gui/regression.ui
src/ui/gui/reliability.ui
src/ui/gui/roc.ui
src/ui/gui/runs.ui
src/ui/gui/select-cases.ui
src/ui/gui/sort.ui
src/ui/gui/split-file.ui
src/ui/gui/t-test.ui
src/ui/gui/univariate.ui
src/ui/gui/val-labs-dialog.c
src/ui/gui/var-type-dialog.c
src/ui/gui/variable-info.ui

index b9ed2222fca9d9639bd697296acfe40e3c6a32e2..4a7f7496f05b025fd6b82d39e48f75f1eac6ebb7 100644 (file)
@@ -79,3 +79,23 @@ Once PSPP is built, you may run its self-tests with:
        make check
 or for a more thorough test:
        make distcheck
+
+Glade UI Design
+---------------
+
+The ui files in src/ui/gui may be viewed (maybe changed) with Glade. For this
+you need
+
+       * libgladeui 2.0 or later
+
+Then you need to run
+
+        configure --with-gui-tools
+       make
+       make install
+
+psppire uses some self defined widgets. To use glade these widgets have
+to be announced to glade such that you can view the interface.
+The install process will install the psppire glade library, icons and
+psppire.xml files in the appropiate system locations. You cannot override
+this with --prefix. After that you can run "glade" and open the ui files.
index cc1dbba0635a410c799638687fff6f5f72bee3b3..1e6edf6d697beeb82e8eab7deaa03b2eacef823c 100644 (file)
@@ -222,7 +222,7 @@ AC_ARG_WITH(
   gui_tools,
   [AS_HELP_STRING([--with-gui-tools], [build the gui developer tools.  For DEVELOPERS only! There is no reason why users will need this flag.])])
 if test x"$with_gui_tools" = x"yes" ; then 
-       PKG_CHECK_MODULES(GLADE_UI, gladeui-1.0)
+       PKG_CHECK_MODULES(GLADE_UI, gladeui-2.0)
 fi
 AM_CONDITIONAL(WITH_GUI_TOOLS, test x"$with_gui_tools" = x"yes")
 
diff --git a/glade/acr.c b/glade/acr.c
deleted file mode 100644 (file)
index c6ee0ef..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-#include <config.h>
-#include <glib.h>
-#include <gtk/gtk.h>
-
-#include "psppire-acr.h"
-
-#include <gladeui/glade.h>
-
-
-void
-glade_psppire_acr_post_create (GladeWidgetAdaptor *adaptor,
-                                   GObject            *object,
-                                   GladeCreateReason   reason)
-{
-  GladeWidget *widget ;
-
-  PsppireAcr *acr = PSPPIRE_ACR (object);
-
-  g_return_if_fail (PSPPIRE_IS_ACR (acr));
-
-  widget = glade_widget_get_from_gobject (GTK_WIDGET (acr));
-  if (!widget)
-    return;
-
-  if (reason == GLADE_CREATE_USER)
-    {
-      /* HIG complient border-width defaults on acrs */
-      glade_widget_property_set (widget, "border-width", 5);
-    }
-}
-
-
-GtkWidget *
-glade_psppire_acr_get_internal_child (GladeWidgetAdaptor  *adaptor,
-                                        PsppireAcr       *acr,
-                                        const gchar         *name)
-{
-#if DEBUGGING
-  g_print ("%s\n", __FUNCTION__);
-#endif
-  return GTK_WIDGET (acr);
-}
-
-
-
-void
-glade_psppire_acr_set_property (GladeWidgetAdaptor *adaptor,
-                                  GObject            *object,
-                                  const gchar        *id,
-                                  const GValue       *value)
-{
-#if DEBUGGING
-  g_print ("%s(%p) Type=\"%s\" Id=\"%s\"\n", __FUNCTION__, object,
-          G_OBJECT_TYPE_NAME( object ),
-          id);
-#endif
-
-  GWA_GET_CLASS (GTK_TYPE_WINDOW)->set_property (adaptor, object,
-                                                id, value);
-}
-
-
-
-GList *
-glade_psppire_acr_get_children (GladeWidgetAdaptor  *adaptor,
-                                  PsppireAcr  *acr)
-{
-  GList *list = NULL;
-
-  g_return_val_if_fail (PSPPIRE_IS_ACR (acr), NULL);
-
-  list = glade_util_container_get_all_children (GTK_CONTAINER (acr));
-
-  return list;
-}
index d1077817d5dad2bb62f92b4bb91dffcf604b5427..4bb87f1ab69f024d38af9daf92906f8baf0cb8d3 100644 (file)
@@ -2,21 +2,22 @@
 
 module_LTLIBRARIES = libglade-psppire.la
 
-moduledir = `pkg-config --variable=moduledir gladeui-1.0`
-catalogdir = `pkg-config --variable=catalogdir gladeui-1.0`
-pixmapdir = `pkg-config --variable=pixmapdir gladeui-1.0`
+moduledir = `pkg-config --variable=moduledir gladeui-2.0`
+catalogdir = `pkg-config --variable=catalogdir gladeui-2.0`
+pixmapdir = `pkg-config --variable=pixmapdir gladeui-2.0`
 
-small_pixmapdir = $(pixmapdir)/16x16
-large_pixmapdir = $(pixmapdir)/22x22
+small_pixmapdir = $(pixmapdir)/hicolor/16x16/actions
+large_pixmapdir = $(pixmapdir)/hicolor/22x22/actions
+
+# format.c for psppire-value-entry.c
 
 libglade_psppire_la_SOURCES = \
-       glade/dialog.c \
-       glade/bbox.c \
-       glade/selector.c \
-       glade/acr.c \
-       glade/dictview.c \
-       glade/var-view.c \
        src/ui/gui/helper.c \
+       src/ui/gui/dialog-common.c \
+       src/ui/gui/psppire-var-ptr.c \
+       src/data/format.c \
+       src/ui/gui/psppire-format.c \
+       src/data/value-labels.c \
        src/ui/gui/psppire-conf.c \
        src/ui/gui/psppire-acr.c \
        src/ui/gui/psppire-buttonbox.c \
@@ -28,26 +29,29 @@ libglade_psppire_la_SOURCES = \
        src/ui/gui/psppire-selector.c \
        src/ui/gui/psppire-select-dest.c \
        src/ui/gui/psppire-var-view.c \
+       src/ui/gui/psppire-checkbox-treeview.c \
+       src/ui/gui/psppire-val-chooser.c \
+       src/ui/gui/psppire-value-entry.c \
        src/ui/gui/psppire-window-base.c
 
 dist_catalog_DATA = \
        glade/psppire.xml
 
 dist_small_pixmap_DATA = \
-       glade/icons/16x16/psppire-acr.png \
-       glade/icons/16x16/psppire-hbuttonbox.png \
-       glade/icons/16x16/psppire-vbuttonbox.png \
-       glade/icons/16x16/psppire-dialog.png \
-       glade/icons/16x16/psppire-keypad.png \
-       glade/icons/16x16/psppire-selector.png 
+       glade/icons/16x16/widget-psppire-psppire-acr.png \
+       glade/icons/16x16/widget-psppire-psppire-hbuttonbox.png \
+       glade/icons/16x16/widget-psppire-psppire-vbuttonbox.png \
+       glade/icons/16x16/widget-psppire-psppire-dialog.png \
+       glade/icons/16x16/widget-psppire-psppire-keypad.png \
+       glade/icons/16x16/widget-psppire-psppire-selector.png
 
 dist_large_pixmap_DATA = \
-       glade/icons/22x22/psppire-acr.png \
-       glade/icons/22x22/psppire-hbuttonbox.png \
-       glade/icons/22x22/psppire-vbuttonbox.png \
-       glade/icons/22x22/psppire-dialog.png \
-       glade/icons/22x22/psppire-keypad.png \
-       glade/icons/22x22/psppire-selector.png 
+       glade/icons/22x22/widget-psppire-psppire-acr.png \
+       glade/icons/22x22/widget-psppire-psppire-hbuttonbox.png \
+       glade/icons/22x22/widget-psppire-psppire-vbuttonbox.png \
+       glade/icons/22x22/widget-psppire-psppire-dialog.png \
+       glade/icons/22x22/widget-psppire-psppire-keypad.png \
+       glade/icons/22x22/widget-psppire-psppire-selector.png
 
 
 libglade_psppire_la_CFLAGS = $(GLADE_UI_CFLAGS) $(GLADE_CFLAGS) \
diff --git a/glade/bbox.c b/glade/bbox.c
deleted file mode 100644 (file)
index 2e675c4..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-#include <config.h>
-#include <gladeui/glade.h>
-#include <gtk/gtk.h>
-
-#include "psppire-buttonbox.h"
-
-void
-glade_psppire_button_box_post_create (GladeWidgetAdaptor *adaptor,
-                                     GObject            *object,
-                                     GladeCreateReason   reason)
-{
-  GladeWidget  *box_widget;
-
-  PsppireButtonBox    *bbox = PSPPIRE_BUTTONBOX (object);
-
-  g_return_if_fail (PSPPIRE_IS_BUTTONBOX (bbox));
-
-  box_widget = glade_widget_get_from_gobject (GTK_WIDGET (bbox));
-  if (!box_widget)
-    return;
-
-
-  if (reason == GLADE_CREATE_USER)
-    {
-      /* HIG complient border-width defaults on dialogs */
-      glade_widget_property_set (box_widget, "border-width", 5);
-    }
-
-}
-
-
-GtkWidget *
-glade_psppire_button_box_get_internal_child (GladeWidgetAdaptor  *adaptor,
-                                            PsppireButtonBox    *bbox,
-                                            const gchar         *name)
-{
-#if DEBUGGING
-  g_print ("%s\n", __FUNCTION__);
-#endif
-
-  return GTK_WIDGET (bbox);
-}
-
-
-
-
-void
-glade_psppire_button_box_set_property (GladeWidgetAdaptor *adaptor,
-                                  GObject            *object,
-                                  const gchar        *id,
-                                  const GValue       *value)
-{
-#if DEBUGGING
-  g_print ("%s(%p) Type=\"%s\" Id=\"%s\"\n", __FUNCTION__, object,
-          G_OBJECT_TYPE_NAME( object ),
-          id);
-#endif
-
-  GWA_GET_CLASS (GTK_TYPE_WINDOW)->set_property (adaptor, object,
-                                                id, value);
-}
-
-
-
-
-GList *
-glade_psppire_button_box_get_children (GladeWidgetAdaptor  *adaptor,
-                                      PsppireButtonBox  *bbox)
-{
-  GList *list = NULL;
-
-  g_return_val_if_fail (PSPPIRE_IS_BUTTONBOX (bbox), NULL);
-
-  list = glade_util_container_get_all_children (GTK_CONTAINER (bbox));
-
-  return list;
-}
diff --git a/glade/dialog.c b/glade/dialog.c
deleted file mode 100644 (file)
index 7b13226..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-#include <config.h>
-#include <glib.h>
-#include <gtk/gtk.h>
-
-#include "psppire-dialog.h"
-#include <string.h>
-#include <assert.h>
-#include <gladeui/glade.h>
-
-
-void
-glade_psppire_dialog_post_create (GladeWidgetAdaptor *adaptor,
-                                 GObject            *object,
-                                 GladeCreateReason   reason)
-{
-  GladeWidget *widget ;
-
-  GladeWidget  *box_widget;
-
-  PsppireDialog    *dialog = PSPPIRE_DIALOG (object);
-
-  g_return_if_fail (PSPPIRE_IS_DIALOG (dialog));
-
-  widget = glade_widget_get_from_gobject (GTK_WIDGET (dialog));
-  if (!widget)
-    return;
-
-
-  if (reason == GLADE_CREATE_USER)
-    {
-      /* HIG compliant border-width defaults on dialogs */
-      glade_widget_property_set (widget, "border-width", 5);
-    }
-
-  box_widget = glade_widget_adaptor_create_internal
-    (widget, G_OBJECT(dialog->box),
-     "hbox", "dialog", FALSE, reason);
-
-  /* These properties are controlled by the GtkDialog style properties:
-   * "content-area-border", "button-spacing" and "action-area-border",
-   * so we must disable their use.
-   */
-  glade_widget_remove_property (box_widget, "border-width");
-
-  /* Only set these on the original create. */
-  if (reason == GLADE_CREATE_USER)
-    {
-
-      /* HIG compliant spacing defaults on dialogs */
-      glade_widget_property_set (box_widget, "spacing", 2);
-
-      glade_widget_property_set (box_widget, "size", 2);
-
-    }
-}
-
-
-GtkWidget *
-glade_psppire_dialog_get_internal_child (GladeWidgetAdaptor  *adaptor,
-                                        PsppireDialog       *dialog,
-                                        const gchar         *name)
-{
-#if DEBUGGING
-  g_print ("%s\n", __FUNCTION__);
-#endif
-
-  g_assert (0 == strcmp (name, "hbox"));
-
-  return dialog->box;
-}
-
-
-
-void
-glade_psppire_dialog_set_property (GladeWidgetAdaptor *adaptor,
-                                  GObject            *object,
-                                  const gchar        *id,
-                                  const GValue       *value)
-{
-#if DEBUGGING
-  g_print ("%s(%p) Type=\"%s\" Id=\"%s\"\n", __FUNCTION__, object,
-          G_OBJECT_TYPE_NAME( object ),
-          id);
-#endif
-
-  assert (  GWA_GET_CLASS (GTK_TYPE_WINDOW)->set_property );
-
-  GWA_GET_CLASS (GTK_TYPE_WINDOW)->set_property (adaptor, object,
-                                                id, value);
-}
-
-
-
-GList *
-glade_psppire_dialog_get_children (GladeWidgetAdaptor  *adaptor,
-                                  PsppireDialog  *dialog)
-{
-  GList *list = NULL;
-
-  g_return_val_if_fail (PSPPIRE_IS_DIALOG (dialog), NULL);
-
-  list = glade_util_container_get_all_children (GTK_CONTAINER (dialog));
-
-  return list;
-}
diff --git a/glade/dictview.c b/glade/dictview.c
deleted file mode 100644 (file)
index 5d23b06..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-#include <config.h>
-
-#include <glib.h>
-#include <gtk/gtk.h>
-#include "psppire-dictview.h"
-
-#include <gladeui/glade.h>
-
-
-GType
-psppire_dict_get_type ()
-{
-  return 0;
-}
-
-
-
-void
-glade_psppire_dictview_post_create (GladeWidgetAdaptor *adaptor,
-                                   GObject            *object,
-                                   GladeCreateReason   reason)
-{
-  GladeWidget *widget ;
-
-  PsppireDictView *dictview = PSPPIRE_DICT_VIEW (object);
-
-  g_return_if_fail (PSPPIRE_IS_DICT_VIEW (dictview));
-
-  widget = glade_widget_get_from_gobject (GTK_WIDGET (dictview));
-  if (!widget)
-    return;
-
-  if (reason == GLADE_CREATE_USER)
-    {
-      /* HIG complient border-width defaults on dictviews */
-      glade_widget_property_set (widget, "border-width", 5);
-    }
-}
-
-
-GtkWidget *
-glade_psppire_dictview_get_internal_child (GladeWidgetAdaptor  *adaptor,
-                                        PsppireDictView       *dictview,
-                                        const gchar         *name)
-{
-#if DEBUGGING
-  g_print ("%s\n", __FUNCTION__);
-#endif
-  return GTK_WIDGET (dictview);
-}
-
-
-
-void
-glade_psppire_dictview_set_property (GladeWidgetAdaptor *adaptor,
-                                    GObject            *object,
-                                    const gchar        *id,
-                                    const GValue       *value)
-{
-#if DEBUGGING
-  g_print ("%s(%p) Type=\"%s\" Id=\"%s\"\n", __FUNCTION__, object,
-          G_OBJECT_TYPE_NAME( object ),
-          id);
-#endif
-
-  GWA_GET_CLASS (GTK_TYPE_WINDOW)->set_property (adaptor, object,
-                                                id, value);
-}
-
-
-GList *
-glade_psppire_dictview_get_children (GladeWidgetAdaptor  *adaptor,
-                                    PsppireDictView  *dv)
-{
-  GList *list = NULL;
-
-  g_return_val_if_fail (PSPPIRE_IS_DICT_VIEW (dv), NULL);
-
-  list = glade_util_container_get_all_children (GTK_CONTAINER (dv));
-
-  return list;
-}
diff --git a/glade/icons/16x16/psppire-acr.png b/glade/icons/16x16/psppire-acr.png
deleted file mode 100644 (file)
index 717e088..0000000
Binary files a/glade/icons/16x16/psppire-acr.png and /dev/null differ
diff --git a/glade/icons/16x16/psppire-dialog.png b/glade/icons/16x16/psppire-dialog.png
deleted file mode 100644 (file)
index 0d5cf63..0000000
Binary files a/glade/icons/16x16/psppire-dialog.png and /dev/null differ
diff --git a/glade/icons/16x16/psppire-hbuttonbox.png b/glade/icons/16x16/psppire-hbuttonbox.png
deleted file mode 100644 (file)
index bedcf63..0000000
Binary files a/glade/icons/16x16/psppire-hbuttonbox.png and /dev/null differ
diff --git a/glade/icons/16x16/psppire-keypad.png b/glade/icons/16x16/psppire-keypad.png
deleted file mode 100644 (file)
index be9f749..0000000
Binary files a/glade/icons/16x16/psppire-keypad.png and /dev/null differ
diff --git a/glade/icons/16x16/psppire-selector.png b/glade/icons/16x16/psppire-selector.png
deleted file mode 100644 (file)
index d4fe2f2..0000000
Binary files a/glade/icons/16x16/psppire-selector.png and /dev/null differ
diff --git a/glade/icons/16x16/psppire-vbuttonbox.png b/glade/icons/16x16/psppire-vbuttonbox.png
deleted file mode 100644 (file)
index d37d4df..0000000
Binary files a/glade/icons/16x16/psppire-vbuttonbox.png and /dev/null differ
diff --git a/glade/icons/16x16/widget-psppire-psppire-acr.png b/glade/icons/16x16/widget-psppire-psppire-acr.png
new file mode 100644 (file)
index 0000000..717e088
Binary files /dev/null and b/glade/icons/16x16/widget-psppire-psppire-acr.png differ
diff --git a/glade/icons/16x16/widget-psppire-psppire-dialog.png b/glade/icons/16x16/widget-psppire-psppire-dialog.png
new file mode 100644 (file)
index 0000000..0d5cf63
Binary files /dev/null and b/glade/icons/16x16/widget-psppire-psppire-dialog.png differ
diff --git a/glade/icons/16x16/widget-psppire-psppire-hbuttonbox.png b/glade/icons/16x16/widget-psppire-psppire-hbuttonbox.png
new file mode 100644 (file)
index 0000000..bedcf63
Binary files /dev/null and b/glade/icons/16x16/widget-psppire-psppire-hbuttonbox.png differ
diff --git a/glade/icons/16x16/widget-psppire-psppire-keypad.png b/glade/icons/16x16/widget-psppire-psppire-keypad.png
new file mode 100644 (file)
index 0000000..be9f749
Binary files /dev/null and b/glade/icons/16x16/widget-psppire-psppire-keypad.png differ
diff --git a/glade/icons/16x16/widget-psppire-psppire-selector.png b/glade/icons/16x16/widget-psppire-psppire-selector.png
new file mode 100644 (file)
index 0000000..d4fe2f2
Binary files /dev/null and b/glade/icons/16x16/widget-psppire-psppire-selector.png differ
diff --git a/glade/icons/16x16/widget-psppire-psppire-vbuttonbox.png b/glade/icons/16x16/widget-psppire-psppire-vbuttonbox.png
new file mode 100644 (file)
index 0000000..d37d4df
Binary files /dev/null and b/glade/icons/16x16/widget-psppire-psppire-vbuttonbox.png differ
diff --git a/glade/icons/22x22/psppire-acr.png b/glade/icons/22x22/psppire-acr.png
deleted file mode 100644 (file)
index 624ba4e..0000000
Binary files a/glade/icons/22x22/psppire-acr.png and /dev/null differ
diff --git a/glade/icons/22x22/psppire-dialog.png b/glade/icons/22x22/psppire-dialog.png
deleted file mode 100644 (file)
index 575ebf5..0000000
Binary files a/glade/icons/22x22/psppire-dialog.png and /dev/null differ
diff --git a/glade/icons/22x22/psppire-hbuttonbox.png b/glade/icons/22x22/psppire-hbuttonbox.png
deleted file mode 100644 (file)
index 538a2fb..0000000
Binary files a/glade/icons/22x22/psppire-hbuttonbox.png and /dev/null differ
diff --git a/glade/icons/22x22/psppire-keypad.png b/glade/icons/22x22/psppire-keypad.png
deleted file mode 100644 (file)
index be61044..0000000
Binary files a/glade/icons/22x22/psppire-keypad.png and /dev/null differ
diff --git a/glade/icons/22x22/psppire-selector.png b/glade/icons/22x22/psppire-selector.png
deleted file mode 100644 (file)
index ea13309..0000000
Binary files a/glade/icons/22x22/psppire-selector.png and /dev/null differ
diff --git a/glade/icons/22x22/psppire-vbuttonbox.png b/glade/icons/22x22/psppire-vbuttonbox.png
deleted file mode 100644 (file)
index f241e68..0000000
Binary files a/glade/icons/22x22/psppire-vbuttonbox.png and /dev/null differ
diff --git a/glade/icons/22x22/widget-psppire-psppire-acr.png b/glade/icons/22x22/widget-psppire-psppire-acr.png
new file mode 100644 (file)
index 0000000..624ba4e
Binary files /dev/null and b/glade/icons/22x22/widget-psppire-psppire-acr.png differ
diff --git a/glade/icons/22x22/widget-psppire-psppire-dialog.png b/glade/icons/22x22/widget-psppire-psppire-dialog.png
new file mode 100644 (file)
index 0000000..575ebf5
Binary files /dev/null and b/glade/icons/22x22/widget-psppire-psppire-dialog.png differ
diff --git a/glade/icons/22x22/widget-psppire-psppire-hbuttonbox.png b/glade/icons/22x22/widget-psppire-psppire-hbuttonbox.png
new file mode 100644 (file)
index 0000000..538a2fb
Binary files /dev/null and b/glade/icons/22x22/widget-psppire-psppire-hbuttonbox.png differ
diff --git a/glade/icons/22x22/widget-psppire-psppire-keypad.png b/glade/icons/22x22/widget-psppire-psppire-keypad.png
new file mode 100644 (file)
index 0000000..be61044
Binary files /dev/null and b/glade/icons/22x22/widget-psppire-psppire-keypad.png differ
diff --git a/glade/icons/22x22/widget-psppire-psppire-selector.png b/glade/icons/22x22/widget-psppire-psppire-selector.png
new file mode 100644 (file)
index 0000000..ea13309
Binary files /dev/null and b/glade/icons/22x22/widget-psppire-psppire-selector.png differ
diff --git a/glade/icons/22x22/widget-psppire-psppire-vbuttonbox.png b/glade/icons/22x22/widget-psppire-psppire-vbuttonbox.png
new file mode 100644 (file)
index 0000000..f241e68
Binary files /dev/null and b/glade/icons/22x22/widget-psppire-psppire-vbuttonbox.png differ
index db8956b70ac7880d179d1a706911c69c6552938b..a02d5fbc2b560c69f478a3190e91eecf95405b12 100644 (file)
                        default-height="260"
                        title="Dialog Box">
 
-     <post-create-function>glade_psppire_dialog_post_create</post-create-function>
-     <get-internal-child-function>glade_psppire_dialog_get_internal_child</get-internal-child-function>
-
-     <get-children-function>glade_psppire_dialog_get_children</get-children-function>
-
-
      <properties>
         <property id="accept-focus"         disabled="True" />
         <property id="allow-grow"           disabled="True" />
@@ -47,7 +41,6 @@
         <property id="resize-mode"          disabled="True" />
        <property id="border-width"         disabled="True" />
 
-
        <property id="modal" ignore="True" default="True" />
        <property id="visible" ignore="True" default="False" />
     </properties>
 
     <glade-widget-class name="PsppireVButtonBox" generic-name="psppire-vbuttonbox" title="Vertical Button Box">
 
-      <post-create-function>glade_psppire_button_box_post_create</post-create-function>
-      <get-children-function>glade_psppire_button_box_get_children</get-children-function>
-
-      <get-internal-child-function>glade_psppire_button_box_get_internal_child</get-internal-child-function>
-
     <properties>
       <property id="child"  disabled="True" />
       <property id="visible" ignore="True" default="True" />
-
+      <property id="border-width" default="5" optional-default="True"/>
       <property id="buttons">
          <displayable-values>
            <value id="PSPPIRE_BUTTON_OK_MASK"     name="OK"></value>
 
     <glade-widget-class name="PsppireHButtonBox" generic-name="psppire-hbuttonbox" title="Horizontal Button Box">
 
-      <post-create-function>glade_psppire_button_box_post_create</post-create-function>
-      <get-children-function>glade_psppire_button_box_get_children</get-children-function>
-
-      <get-internal-child-function>glade_psppire_button_box_get_internal_child</get-internal-child-function>
-
     <properties>
       <property id="child"                disabled="True" />
-
       <property id="visible" ignore="True" default="True" />
+      <property id="border-width" default="5" optional-default="True"/>
     </properties>
 
-
     <packing-defaults>
       <parent-class name="GtkVBox">
        <child-property id="expand" default="False"/>
 
     </glade-widget-class>
 
-
-
     <glade-widget-class name="PsppireKeypad" 
                         get-type-function="psppire_keypad_get_type" 
                        generic-name="psppire-keypad" 
                        fixed="True"
                        title="Keypad">
 
-
      <properties>
        <property id="child"       disabled="True"/>
        <property id="homogeneous" disabled="True"/>
 
     <glade-widget-class name="PsppireSelector" generic-name="psppire-selector" title="Selector Button">
 
-      <post-create-function>glade_psppire_selector_post_create</post-create-function>
-      <get-children-function>glade_psppire_selector_get_children</get-children-function>
-
-      <get-internal-child-function>glade_psppire_selector_get_internal_child</get-internal-child-function>
-
-
      <properties>
        <property id="child"           disabled="True"/>
        <property id="label"           disabled="True"/>
         <property id="xalign"          disabled="True"/>
         <property id="yalign"          disabled="True"/>
         <property id="resize-mode"     disabled="True"/>
-
+        <property id="border-width" default="5" optional-default="True"/>
        <property id="orientation">
          <displayable-values>
            <value id="PSPPIRE_SOURCE_BEFORE_DEST" 
 
     </glade-widget-class>
 
-
-
     <glade-widget-class name="PsppireAcr" generic-name="psppire-acr" title="Add-Change-Remove">
 
-      <post-create-function>glade_psppire_acr_post_create</post-create-function>
-      <get-children-function>glade_psppire_acr_get_children</get-children-function>
-
-      <get-internal-child-function>glade_psppire_acr_get_internal_child</get-internal-child-function>
-
-
     <properties>
       <property id="child"                disabled="True" />
       <property id="homogeneous"          disabled="True" />
       <property id="visible" ignore="True" default="True" />
+      <property id="border-width" default="5" optional-default="True"/>
     </properties>
 
     </glade-widget-class>
 
 
 
-    <glade-widget-class name="PsppireDictView" generic-name="psppire-dictview" title="Dictionary Treeview">
-
-      <post-create-function>glade_psppire_dictview_post_create</post-create-function>
-      <get-children-function>glade_psppire_dictview_get_children</get-children-function>
-      <get-internal-child-function>glade_psppire_dictview_get_internal_child</get-internal-child-function>
-
+    <glade-widget-class name="PsppireDictView"
+                       generic-name="psppire-dictview"
+                       title="Dictionary Treeview">
 
     <properties>
       <property id="child"                disabled="True" />
       <property id="homogeneous"          disabled="True" />
       <property id="visible" ignore="True" default="True" />
       <property id="model"                visible="False"  query="False" />
+      <property id="border-width" default="5" optional-default="True"/>
     </properties>
 
     </glade-widget-class>
 
 
-    <glade-widget-class name="PsppireVarView" generic-name="psppire-var-view" title="Variable Treeview">
-
-      <post-create-function>glade_psppire_var_view_post_create</post-create-function>
-      <get-children-function>glade_psppire_var_view_get_children</get-children-function>
-      <get-internal-child-function>glade_psppire_var_view_get_internal_child</get-internal-child-function>
-
+    <glade-widget-class name="PsppireVarView"
+                       generic-name="psppire-var-view"
+                       title="Variable Treeview">
 
     <properties>
       <property id="child"                disabled="True" />
       <property id="visible" ignore="True" default="True" />
       <property id="model"                visible="False"  query="False" disabled="True" />
       <property id="n-cols"    ignore="True" />
-
+      <property id="border-width" default="5" optional-default="True"/>
     </properties>
 
     </glade-widget-class>
 
+    <glade-widget-class name="PsppireCheckboxTreeview"
+                       generic-name="psppire-checkbox-treeview"
+                       title="Checkbox Treeview">
+      <properties>
+        <property id="child"                disabled="True" />
+        <property id="homogeneous"          disabled="True" />
+        <property id="visible" ignore="True" default="True" />
+      </properties>
+    </glade-widget-class>
 
-  </glade-widget-classes>
+    <glade-widget-class name="PsppireValChooser"
+                       generic-name="psppire-val-chooser"
+                       title="Value Chooser"
+                       icon-name="widget-gtk-recentchooser">
+      <properties>
+        <property id="child"                disabled="True" />
+        <property id="homogeneous"          disabled="True" />
+        <property id="visible" ignore="True" default="True" />
+      </properties>
+    </glade-widget-class>
 
+    <glade-widget-class name="PsppireValueEntry"
+                       generic-name="psppire-value-entry"
+                       title="Value Entry"
+                       icon-name="widget-gtk-entry">
+      <properties>
+        <property id="child"                disabled="True" />
+        <property id="homogeneous"          disabled="True" />
+        <property id="visible" ignore="True" default="True" />
+      </properties>
+    </glade-widget-class>
+
+  </glade-widget-classes>
 
  <glade-widget-group name="psppire" title="Psppire">
   <glade-widget-class-ref name="PsppireDialog"/>
   <glade-widget-class-ref name="PsppireSelector"/>
   <glade-widget-class-ref name="PsppireKeypad"/>
   <glade-widget-class-ref name="PsppireAcr"/>
+  <glade-widget-class-ref name="PsppireCheckboxTreeview"/>
+  <glade-widget-class-ref name="PsppireValChooser"/>
+  <glade-widget-class-ref name="PsppireValueEntry"/>
  </glade-widget-group>
 
-
 </glade-catalog>
diff --git a/glade/selector.c b/glade/selector.c
deleted file mode 100644 (file)
index 6b2e4d7..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-#include <config.h>
-#include <glib.h>
-#include <gtk/gtk.h>
-
-#include "psppire-selector.h"
-
-#include <gladeui/glade.h>
-
-
-void
-glade_psppire_selector_post_create (GladeWidgetAdaptor *adaptor,
-                                   GObject            *object,
-                                   GladeCreateReason   reason)
-{
-  GladeWidget *widget ;
-
-  PsppireSelector *selector = PSPPIRE_SELECTOR (object);
-
-  g_return_if_fail (PSPPIRE_IS_SELECTOR (selector));
-
-  widget = glade_widget_get_from_gobject (GTK_WIDGET (selector));
-  if (!widget)
-    return;
-
-  if (reason == GLADE_CREATE_USER)
-    {
-      /* HIG complient border-width defaults on selectors */
-      glade_widget_property_set (widget, "border-width", 5);
-    }
-}
-
-
-GtkWidget *
-glade_psppire_selector_get_internal_child (GladeWidgetAdaptor  *adaptor,
-                                        PsppireSelector       *selector,
-                                        const gchar         *name)
-{
-#if DEBUGGING
-  g_print ("%s\n", __FUNCTION__);
-#endif
-  return GTK_WIDGET (selector);
-}
-
-
-
-void
-glade_psppire_selector_set_property (GladeWidgetAdaptor *adaptor,
-                                  GObject            *object,
-                                  const gchar        *id,
-                                  const GValue       *value)
-{
-#if DEBUGGING
-  g_print ("%s(%p) Type=\"%s\" Id=\"%s\"\n", __FUNCTION__, object,
-          G_OBJECT_TYPE_NAME( object ),
-          id);
-#endif
-
-  GWA_GET_CLASS (GTK_TYPE_WINDOW)->set_property (adaptor, object,
-                                                id, value);
-}
-
-
-
-GList *
-glade_psppire_selector_get_children (GladeWidgetAdaptor  *adaptor,
-                                  PsppireSelector  *selector)
-{
-  GList *list = NULL;
-
-  g_return_val_if_fail (PSPPIRE_IS_SELECTOR (selector), NULL);
-
-  list = glade_util_container_get_all_children (GTK_CONTAINER (selector));
-
-  return list;
-}
diff --git a/glade/var-view.c b/glade/var-view.c
deleted file mode 100644 (file)
index 7eb6c62..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-#include <config.h>
-
-#include <glib.h>
-#include <gtk/gtk.h>
-#include "psppire-var-view.h"
-
-#include <gladeui/glade.h>
-
-
-/* Dummy function to keep the linker happy.
-   Glade never actually needs to use this return value.
- */
-GType
-psppire_var_ptr_get_type (void)
-{
-  return 0;
-}
-
-void
-glade_psppire_var_view_post_create (GladeWidgetAdaptor *adaptor,
-                                   GObject            *object,
-                                   GladeCreateReason   reason)
-{
-  GladeWidget *widget ;
-
-  PsppireVarView *var_view = PSPPIRE_VAR_VIEW (object);
-
-  g_return_if_fail (PSPPIRE_IS_VAR_VIEW (var_view));
-
-  widget = glade_widget_get_from_gobject (GTK_WIDGET (var_view));
-  if (!widget)
-    return;
-
-  if (reason == GLADE_CREATE_USER)
-    {
-      /* HIG complient border-width defaults on var_views */
-      glade_widget_property_set (widget, "border-width", 5);
-    }
-}
-
-
-GtkWidget *
-glade_psppire_var_view_get_internal_child (GladeWidgetAdaptor  *adaptor,
-                                        PsppireVarView       *var_view,
-                                        const gchar         *name)
-{
-#if DEBUGGING
-  g_print ("%s\n", __FUNCTION__);
-#endif
-  return GTK_WIDGET (var_view);
-}
-
-
-
-void
-glade_psppire_var_view_set_property (GladeWidgetAdaptor *adaptor,
-                                    GObject            *object,
-                                    const gchar        *id,
-                                    const GValue       *value)
-{
-#if DEBUGGING
-  g_print ("%s(%p) Type=\"%s\" Id=\"%s\"\n", __FUNCTION__, object,
-          G_OBJECT_TYPE_NAME( object ),
-          id);
-#endif
-
-  GWA_GET_CLASS (GTK_TYPE_WINDOW)->set_property (adaptor, object,
-                                                id, value);
-}
-
-
-GList *
-glade_psppire_var_view_get_children (GladeWidgetAdaptor  *adaptor,
-                                    PsppireVarView  *dv)
-{
-  GList *list = NULL;
-
-  g_return_val_if_fail (PSPPIRE_IS_VAR_VIEW (dv), NULL);
-
-  list = glade_util_container_get_all_children (GTK_CONTAINER (dv));
-
-  return list;
-}
index 7c4905da0e2bfe963512e1529ebd3f33ffb00f63..82299d2f7611b80e79d8c9ac6d908ca25b732449 100644 (file)
@@ -6,9 +6,8 @@
   <object class="PsppireDialog" id="psppire-dialog1">
     <property name="title" translatable="yes">Aggregate Data</property>
     <property name="modal">True</property>
-    <property name="orientation">Vertical</property>
     <property name="help-page">AGGREGATE</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkVBox" id="dialog-hbox1">
         <property name="visible">True</property>
         <property name="orientation">vertical</property>
index c8d8de4d3b0c7774aa1aecfa64f9eb36c9c5e6bf..3dc0c696475f297d3a58092d5e9414739d5ac6cb 100644 (file)
@@ -7,7 +7,7 @@
     <property name="title" translatable="yes">Automatic Recode</property>
     <property name="modal">True</property>
     <property name="help-page">AUTORECODE</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox1">
         <property name="visible">True</property>
         <property name="spacing">2</property>
index 66e9822551b6daca3dd7bf515e7709467d724b9f..7100ea6b5507e99212e8bb0c982f21d69888b9db 100644 (file)
@@ -13,7 +13,7 @@
     <property name="title" translatable="yes">Binomial Test</property>
     <property name="modal">True</property>
     <property name="help-page">NPAR-TESTS#BINOMIAL</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox13">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
index da230eaab6f3dfd39b11c3c9e0eb295eb79841b8..e084dc92a2bec94e18cac2887b1d6198fec36888 100644 (file)
@@ -13,7 +13,7 @@
     <property name="title" translatable="yes">Chi-Square Test</property>
     <property name="modal">True</property>
     <property name="help-page">NPAR-TESTS#CHISQUARE</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox13">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
index 4cabaed5362087651c8f48026188317872d290e4..0b29eeedc50d086c892f8aa2be1ef5a5b880c430 100644 (file)
@@ -8,7 +8,7 @@
     <property name="title" translatable="yes">Compute Variable</property>
     <property name="modal">True</property>
     <property name="help-page">COMPUTE</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox5">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="title" translatable="yes">Compute Variable: Type and Label</property>
     <property name="modal">True</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox9">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
index f4b3bc18f5f0d8bc46839effc0c1b2297e9e0a9b..25d4eaf79e75a0e0ea913a1d8ac900f9cad27afb 100644 (file)
@@ -7,7 +7,7 @@
     <property name="title" translatable="yes">Bivariate Correlations</property>
     <property name="modal">True</property>
     <property name="help-page">CORRELATIONS</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox1">
         <property name="visible">True</property>
         <property name="spacing">2</property>
index aaf2cb457f516315e601a6649f3046d70ac5a6c9..3bb7fc8d49330ac07fefa905e2d81263beee1098 100644 (file)
@@ -7,7 +7,7 @@
     <property name="title" translatable="yes">Count Occurrences of Values within Cases</property>
     <property name="modal">True</property>
     <property name="help-page">COUNT</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox5">
         <property name="visible">True</property>
         <property name="orientation">vertical</property>
   <object class="PsppireDialog" id="values-dialog">
     <property name="title" translatable="yes">Count Values within Cases: Values to Count</property>
     <property name="modal">True</property>
-    <property name="orientation">Vertical</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkVBox" id="dialog-hbox6">
         <property name="visible">True</property>
         <property name="orientation">vertical</property>
index 37d6560f046e4dd116d8da7f15f74223f8d5f283..9daed752f8da0426a887833591747a8c8022644c 100644 (file)
@@ -7,7 +7,7 @@
     <property name="title" translatable="yes">Crosstabs</property>
     <property name="modal">True</property>
     <property name="help-page">CROSSTABS</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox1">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="title" translatable="yes">Crosstabs: Format</property>
     <property name="modal">True</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox2">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="title" translatable="yes">Crosstabs: Cells</property>
     <property name="modal">True</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox3">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="title" translatable="yes">Crosstabs: Statistics</property>
     <property name="modal">True</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox4">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
index 0be07385b85f530f5de36e9c28c4da7aacd2f267..74a282adf7a555a07eff31f84e0d4e54cd0bd46d 100644 (file)
@@ -8,7 +8,7 @@
     <property name="title" translatable="yes">Descriptives</property>
     <property name="modal">True</property>
     <property name="help-page">DESCRIPTIVES</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox16">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
index a0246cbeca1cead64ceecd404c50756dae954a95..5ce57976600e277c907327658dcc09cfe8b9201e 100644 (file)
@@ -6,8 +6,7 @@
   <object class="PsppireDialog" id="entry-dialog">
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="modal">True</property>
-    <property name="orientation">Vertical</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkVBox" id="dialog-hbox8">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
index 200884ead4fe890579d2a9379e578077cef9a714..9697fa5fa6847ffb82092f6c1bf89b7a06ce8158 100644 (file)
@@ -8,7 +8,7 @@
     <property name="title" translatable="yes">Explore</property>
     <property name="modal">True</property>
     <property name="help-page">EXAMINE</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox1">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="title" translatable="yes">Explore: Statistics</property>
     <property name="modal">True</property>
-    <property name="orientation">Vertical</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkVBox" id="dialog-hbox2">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="title" translatable="yes">Explore: Options</property>
     <property name="modal">True</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox3">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
index 62b41e2308b38f2d942c4a05c9a3adf7b04309fc..fc7813dc3fee9bf82c83acfe0070c256fa7d585d 100644 (file)
@@ -28,9 +28,8 @@
   <object class="PsppireDialog" id="factor-dialog">
     <property name="title" translatable="yes">Factor Analysis</property>
     <property name="modal">True</property>
-    <property name="orientation">Tabular</property>
     <property name="help-page">FACTOR</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkTable" id="dialog-hbox1">
         <property name="visible">True</property>
         <property name="n_rows">2</property>
   <object class="PsppireDialog" id="extractions-dialog">
     <property name="title" translatable="yes">Factor Analysis: Extraction</property>
     <property name="modal">True</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox4">
         <property name="visible">True</property>
         <property name="spacing">2</property>
   <object class="PsppireDialog" id="rotations-dialog">
     <property name="title" translatable="yes">Factor Analysis: Rotation</property>
     <property name="modal">True</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox8">
         <property name="visible">True</property>
         <property name="spacing">2</property>
index e5e9f062d8cf7a51811dbe33161548ffde238cef..fb0eafd293df6ba546c1a463f5fb60b59e34b6e5 100644 (file)
@@ -7,7 +7,7 @@
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="title" translatable="yes">Find Case</property>
     <property name="modal">True</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox14">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
index b1708f764977b29f1ab0f5243e8eacfa86996a97..45e81c0e3b48d5b3f097344cd2f2b37068999dce 100644 (file)
@@ -9,7 +9,7 @@
     <property name="title" translatable="yes">Frequencies</property>
     <property name="modal">True</property>
     <property name="help-page">FREQUENCIES</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox1">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="title" translatable="yes">Frequencies: Frequency Tables</property>
     <property name="modal">True</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox6">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="title" translatable="yes">Frequencies: Charts</property>
     <property name="modal">True</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox5">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
index 6cea9869a78e64ec32e222498b0768e5f5e0b1ae..e9bf32009ca221aa7a59d1e01a35cbda49b2e4e4 100644 (file)
@@ -7,8 +7,7 @@
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="title" translatable="yes">Goto Case</property>
     <property name="modal">True</property>
-    <property name="orientation">Vertical</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkVBox" id="dialog-hbox8">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
index 2251d0dcdaf23afed048bf5db76094b1c1920ec2..827819e37ce42f7418843f28d00d729c9a6a011b 100644 (file)
@@ -7,7 +7,7 @@
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="title" translatable="yes">Independent-Samples T Test</property>
     <property name="modal">True</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox15">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="title" translatable="yes">Define Groups</property>
     <property name="modal">True</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox2">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
index 7ca549b9ae9c7b6e2b21c9729f96f2ec506a8bd9..7707818815e5acbb8f08a51f20a4c8013a470d29 100644 (file)
@@ -6,9 +6,8 @@
   <object class="PsppireDialog" id="k-means-dialog">
     <property name="title" translatable="yes">K-Means Cluster Analysis</property>
     <property name="modal">True</property>
-    <property name="orientation">Vertical</property>
     <property name="help-page">QUICK-CLUSTER</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkVBox" id="dialog-hbox1">
         <property name="visible">True</property>
         <property name="orientation">vertical</property>
index 10d6fb287d0aa28e986ffac3055a839383b84dc3..1987a21cc4e4fac8eec8a1240d46ffb73e6fed12 100644 (file)
@@ -6,8 +6,7 @@
   <object class="PsppireDialog" id="k-related-dialog">
     <property name="title" translatable="yes">Tests for Several Related Samples</property>
     <property name="modal">True</property>
-    <property name="orientation">Vertical</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkVBox" id="dialog-hbox1">
         <property name="visible">True</property>
         <property name="orientation">vertical</property>
index 9386e4093bb4ad705df7c35323e14c544cfa6e8f..6df79bbb8c58da4d912a41c382d1a1a2fb67c8bb 100644 (file)
@@ -6,7 +6,7 @@
   <object class="PsppireDialog" id="ks-one-sample-dialog">
     <property name="title" translatable="yes">One-Sample Kolmogorov-Smirnov Test</property>
     <property name="modal">True</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox1">
         <property name="visible">True</property>
         <property name="spacing">2</property>
index 1c38cc3f423aebdfc1d56bf961740fdb60d3513a..6184b1c3100b1afb50ad09b1f18b9da41c89015d 100644 (file)
@@ -7,7 +7,7 @@
     <property name="title" translatable="yes">Logistic Regression</property>
     <property name="modal">True</property>
     <property name="help-page">LOGISTIC-REGRESSION</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox1">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="title" translatable="yes">Logistic Regression: Options</property>
     <property name="modal">True</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox4">
         <property name="visible">True</property>
         <property name="spacing">2</property>
index 5c98f6c234a8606cbca1503cb63e153bae0c2275..42eb287db223aa5382c65387a01d4161222b52ff 100644 (file)
@@ -8,7 +8,7 @@
     <property name="title" translatable="yes">Means</property>
     <property name="modal">True</property>
     <property name="help-page">MEANS</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox16">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
index 030d0786709a9a1a5be9d434882d1941668856b0..83dd338cee255678d9a6ac50c3764cb9b0bc256f 100644 (file)
@@ -362,7 +362,7 @@ psppire_missing_val_dialog_constructor (GType                  type,
     type, n_properties, properties);
   dialog = PSPPIRE_MISSING_VAL_DIALOG (obj);
 
-  content_area = GTK_CONTAINER (PSPPIRE_DIALOG (dialog)->box);
+  content_area = GTK_CONTAINER (PSPPIRE_DIALOG (dialog));
   xml = builder_new ("missing-val-dialog.ui");
   gtk_container_add (GTK_CONTAINER (content_area),
                      get_widget_assert (xml, "missing-values-dialog"));
index ec50f2451ec8a529fe95b557b8eb96be54c32c2b..bcc73fcc52cf26cdeb6df182fbccd7cfd615ca3c 100644 (file)
@@ -8,7 +8,7 @@
     <property name="title" translatable="yes">One-Way ANOVA</property>
     <property name="modal">True</property>
     <property name="help-page">ONEWAY</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox15">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="title" translatable="yes">One-Way ANOVA: Contrasts</property>
     <property name="modal">True</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox2">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
index 79fb24fbd3f005adcaf97201a63a070e96f37c6b..f952273987fc4c78014ab9586871383f1e0b6051 100644 (file)
@@ -6,7 +6,7 @@
   <object class="PsppireDialog" id="t-test-paired-samples-dialog">
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="modal">True</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox6">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
index 37eaa1fb50234d0d95305277373eda2b1aec2a94..f3703993b5bbb59e0e64483c69871a732adce7aa 100644 (file)
@@ -41,9 +41,6 @@ static guint signals [n_SIGNALS];
 
 static GObjectClass     *parent_class = NULL;
 
-
-static void psppire_dialog_buildable_init (GtkBuildableIface *iface);
-
 static void
 psppire_dialog_finalize (GObject *object)
 {
@@ -83,19 +80,8 @@ psppire_dialog_get_type (void)
        (GInstanceInitFunc) psppire_dialog_init,
       };
 
-      static const GInterfaceInfo buildable_info =
-      {
-       (GInterfaceInitFunc) psppire_dialog_buildable_init,
-       NULL,
-       NULL
-      };
-
       dialog_type = g_type_register_static (PSPPIRE_TYPE_WINDOW_BASE,
                                            "PsppireDialog", &dialog_info, 0);
-
-      g_type_add_interface_static (dialog_type,
-                                  GTK_TYPE_BUILDABLE,
-                                  &buildable_info);
     }
 
   return dialog_type;
@@ -123,16 +109,6 @@ psppire_dialog_get_property (GObject         *object,
 
   switch (prop_id)
     {
-    case PROP_ORIENTATION:
-      {
-       if ( GTK_IS_VBOX (dialog->box) || GTK_VPANED (dialog->box))
-         g_value_set_enum (value, PSPPIRE_VERTICAL);
-       else if ( GTK_IS_HBOX (dialog->box) || GTK_HPANED (dialog->box))
-         g_value_set_enum (value, PSPPIRE_HORIZONTAL);
-       else if ( GTK_IS_TABLE (dialog->box))
-         g_value_set_enum (value, PSPPIRE_TABULAR);
-      }
-      break;
     case PROP_SLIDING:
       g_value_set_boolean (value, dialog->slidable);
       break;
@@ -145,43 +121,6 @@ psppire_dialog_get_property (GObject         *object,
     };
 }
 
-
-static void
-dialog_set_container (PsppireDialog *dialog)
-{
-  if ( dialog->box != NULL)
-    {
-      gtk_container_remove (GTK_CONTAINER (dialog), dialog->box);
-    }
-
-  switch (dialog->orientation)
-    {
-    case PSPPIRE_HORIZONTAL:
-      if ( dialog->slidable)
-       dialog->box = gtk_hpaned_new();
-      else
-       dialog->box = gtk_hbox_new (FALSE, 5);
-      break;
-    case PSPPIRE_VERTICAL:
-      if ( dialog->slidable)
-       dialog->box = gtk_vpaned_new();
-      else
-       dialog->box = gtk_vbox_new (FALSE, 5);
-      break;
-    case PSPPIRE_TABULAR:
-      dialog->box = gtk_table_new (2, 3, FALSE);
-      g_object_set (dialog->box,
-                   "row-spacing", 5,
-                   "column-spacing", 5,
-                   NULL);
-      break;
-    }
-
-  gtk_widget_show_all (dialog->box);
-  gtk_container_add (GTK_CONTAINER (dialog), dialog->box);
-}
-
-
 static void
 psppire_dialog_set_property (GObject         *object,
                             guint            prop_id,
@@ -196,9 +135,6 @@ psppire_dialog_set_property (GObject         *object,
     case PROP_SLIDING:
       dialog->slidable = g_value_get_boolean (value);
       break;
-    case PROP_ORIENTATION:
-      dialog->orientation = g_value_get_enum (value);
-      break;
     case PROP_HELP_PAGE:
       dialog->help_page = g_value_dup_string (value);
       break;
@@ -206,13 +142,8 @@ psppire_dialog_set_property (GObject         *object,
       G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
       break;
     };
-
-  dialog_set_container (dialog);
 }
 
-
-static GParamSpec *orientation_spec ;
-
 static void
 psppire_dialog_class_init (PsppireDialogClass *class)
 {
@@ -228,14 +159,6 @@ psppire_dialog_class_init (PsppireDialogClass *class)
                         NULL,
                         G_PARAM_READWRITE);
 
-  orientation_spec =
-    g_param_spec_enum ("orientation",
-                      "Orientation",
-                      "Which way widgets are packed",
-                      PSPPIRE_TYPE_ORIENTATION,
-                      PSPPIRE_HORIZONTAL /* default value */,
-                      G_PARAM_CONSTRUCT_ONLY |G_PARAM_READWRITE);
-
   sliding_spec =
     g_param_spec_boolean ("slidable",
                          "Slidable",
@@ -246,11 +169,6 @@ psppire_dialog_class_init (PsppireDialogClass *class)
   object_class->set_property = psppire_dialog_set_property;
   object_class->get_property = psppire_dialog_get_property;
 
-  g_object_class_install_property (object_class,
-                                   PROP_ORIENTATION,
-                                   orientation_spec);
-
-
   g_object_class_install_property (object_class,
                                    PROP_SLIDING,
                                    sliding_spec);
@@ -306,13 +224,9 @@ psppire_dialog_class_init (PsppireDialogClass *class)
                  1,
                  G_TYPE_STRING);
 
-
   parent_class = g_type_class_peek_parent (class);
 }
 
-
-
-
 static void
 close_dialog (GtkWidget *w, gpointer data)
 {
@@ -328,7 +242,6 @@ psppire_dialog_close (PsppireDialog *dialog)
   gtk_widget_hide (GTK_WIDGET (dialog));
 }
 
-
 static void
 delete_event_callback (GtkWidget *w, GdkEvent *e, gpointer data)
 {
@@ -339,8 +252,6 @@ delete_event_callback (GtkWidget *w, GdkEvent *e, gpointer data)
 static void
 psppire_dialog_init (PsppireDialog *dialog)
 {
-  GValue value = {0};
-  dialog->box = NULL;
   dialog->contents_are_valid = NULL;
   dialog->validity_data = NULL;
   dialog->contents_are_acceptable = NULL;
@@ -348,14 +259,9 @@ psppire_dialog_init (PsppireDialog *dialog)
   dialog->slidable = FALSE;
   dialog->help_page = NULL;
 
-  g_value_init (&value, orientation_spec->value_type);
-  g_param_value_set_default (orientation_spec, &value);
-
   gtk_window_set_type_hint (GTK_WINDOW (dialog),
        GDK_WINDOW_TYPE_HINT_DIALOG);
 
-  g_value_unset (&value);
-
   g_signal_connect (dialog, "delete-event",
                    G_CALLBACK (delete_event_callback),
                    dialog);
@@ -366,7 +272,6 @@ psppire_dialog_init (PsppireDialog *dialog)
   g_object_set (dialog, "icon-name", "pspp", NULL);
 }
 
-
 GtkWidget*
 psppire_dialog_new (void)
 {
@@ -519,7 +424,7 @@ psppire_dialog_run (PsppireDialog *dialog)
     g_warning ("PsppireDialog %s has no title", gtk_widget_get_name (GTK_WIDGET (dialog)));
   
   if ( dialog->contents_are_valid != NULL )
-    gtk_container_foreach (GTK_CONTAINER (dialog->box),
+    gtk_container_foreach (gtk_bin_get_child(GTK_BIN(dialog)),
                           connect_notify_signal,
                           dialog);
 
@@ -563,29 +468,6 @@ psppire_dialog_help (PsppireDialog *dialog)
   g_signal_emit (dialog, signals [DIALOG_HELP], 0, page);
 }
 
-
-GType
-psppire_orientation_get_type (void)
-{
-  static GType etype = 0;
-  if (etype == 0)
-    {
-      static const GEnumValue values[] =
-       {
-         { PSPPIRE_HORIZONTAL, "PSPPIRE_HORIZONTAL", "Horizontal" },
-         { PSPPIRE_VERTICAL,   "PSPPIRE_VERTICAL",   "Vertical" },
-         { PSPPIRE_TABULAR,   "PSPPIRE_TABULAR",   "Tabular" },
-         { 0, NULL, NULL }
-       };
-
-      etype = g_enum_register_static
-       (g_intern_static_string ("PsppireOrientation"), values);
-
-    }
-  return etype;
-}
-
-
 /* Sets a predicate function that is checked after each change that the user
    makes to the dialog's state.  If the predicate function returns false, then
    "OK" and other buttons that accept the dialog's settings will be
@@ -623,27 +505,3 @@ psppire_dialog_is_acceptable (const PsppireDialog *dialog)
   return (dialog->contents_are_acceptable == NULL
           || dialog->contents_are_acceptable (dialog->acceptable_data));
 }
-
-
-
-
-static GObject *
-get_internal_child    (GtkBuildable *buildable,
-                      GtkBuilder *builder,
-                      const gchar *childname)
-{
-  PsppireDialog *dialog = PSPPIRE_DIALOG (buildable);
-
-  if ( 0 == strcmp (childname, "hbox"))
-    return G_OBJECT (dialog->box);
-
-  return NULL;
-}
-
-
-
-static void
-psppire_dialog_buildable_init (GtkBuildableIface *iface)
-{
-  iface->get_internal_child = get_internal_child;
-}
index 527e8b0d05110cfacf70e77ec99b9b7e057601d5..c7d3c230e40aa7d0662497466b7a77b99977ae6f 100644 (file)
@@ -55,7 +55,6 @@ typedef enum
 struct _PsppireDialog
 {
   PsppireWindowBase window;
-  GtkWidget *box;
 
   /* Private */
   GMainLoop *loop;
@@ -66,8 +65,6 @@ struct _PsppireDialog
   ContentsAreValid contents_are_acceptable;
   gpointer acceptable_data;
   gboolean slidable;
-  PsppireOrientation orientation;
-
   gchar *help_page;
 
 };
@@ -93,14 +90,6 @@ void           psppire_dialog_set_accept_predicate (PsppireDialog *,
 gboolean       psppire_dialog_is_acceptable (const PsppireDialog *);
 void           psppire_dialog_notify_change (PsppireDialog *);
 
-
-
-GType psppire_orientation_get_type (void);
-
-
-#define PSPPIRE_TYPE_ORIENTATION (psppire_orientation_get_type ())
-
-
 G_END_DECLS
 
 #endif /* __PSPPIRE_DIALOG_H__ */
index 5419c3a0b60089ee44be60c78f42549d9dbb4f82..694014eef11636af60ae8a3ec4accfdfb95cc243 100644 (file)
@@ -7,7 +7,7 @@
     <property name="title" translatable="yes">Weight Cases</property>
     <property name="modal">True</property>
     <property name="help-page">WEIGHT</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox2">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK</property>
     <property name="title" translatable="yes">Transpose</property>
     <property name="modal">True</property>
     <property name="help-page">FLIP</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox1">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK</property>
     <property name="title" translatable="yes">Data File Comments</property>
     <property name="modal">True</property>
     <property name="help-page">DOCUMENT</property>
-    <property name="orientation">Vertical</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkVBox" id="dialog-hbox7">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
index 2b84d7a8c2175baada658943b809dc61510701b9..bfb856a922441f4ab3c60f52ccfa36d730a202fd 100644 (file)
@@ -8,7 +8,7 @@
     <property name="title" translatable="yes">Rank Cases</property>
     <property name="modal">True</property>
     <property name="help-page">RANK</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox1">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="title" translatable="yes">Rank Cases: Types</property>
     <property name="modal">True</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox2">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="title" translatable="yes">Rank Cases: Ties</property>
     <property name="modal">True</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox3">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
index 09a643d1f776fc57e862a3cd02a5106b3e81beb6..8ef594a5ea1faad06ac8d92302ff830c7e79d7c9 100644 (file)
@@ -6,7 +6,7 @@
   <object class="PsppireDialog" id="old-new-values-dialog">
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="modal">True</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox1">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="title" translatable="yes">Recode into Same Variables</property>
     <property name="modal">True</property>
-    <property name="orientation">Tabular</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkTable" id="dialog-hbox3">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
index 415fea257aed31b3476db2b0f388b280e933b295..5f40028846e044dd82a0ce565bcf4541d35261a2 100644 (file)
@@ -7,7 +7,7 @@
     <property name="title" translatable="yes">Regression</property>
     <property name="modal">True</property>
     <property name="help-page">REGRESSION</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox1">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="title" translatable="yes">Regression: Save</property>
     <property name="modal">True</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox2">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="title" translatable="yes">Regression: Statistics</property>
     <property name="modal">True</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox3">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
index 79e467fb7458d980a22dfb752032725506bcd531..6d0446cca4dea1f37dc2c27b6636b979db3c1983 100644 (file)
@@ -26,7 +26,7 @@
     <property name="title" translatable="yes">Reliability Analysis</property>
     <property name="modal">True</property>
     <property name="help-page">RELIABILITY</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox5">
         <property name="visible">True</property>
         <child>
index e5cefe74a0048900aececa36aa6c1c2ab7912012..0b3c4527d765429b50a1de8bcaf0caca1b4d658e 100644 (file)
@@ -7,7 +7,7 @@
     <property name="title" translatable="yes">ROC Curve</property>
     <property name="modal">True</property>
     <property name="help-page">ROC</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox1">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
index 720492b6fdeb686fa469a351d97a771532877483..3eb39a860e67f9e5f987b8bcc5781ccdeda87118 100644 (file)
@@ -6,9 +6,8 @@
   <object class="PsppireDialog" id="runs-dialog">
     <property name="title" translatable="yes">Runs Test</property>
     <property name="modal">True</property>
-    <property name="orientation">Vertical</property>
     <property name="help-page">NPAR-TESTS#RUNS</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkVBox" id="dialog-hbox1">
         <property name="visible">True</property>
         <property name="orientation">vertical</property>
index 597b9fdf01199dfe22915d8d156766685a6dd361..f4c121bd5a51ab0094c5eb881fae02c1f6c18faf 100644 (file)
@@ -7,9 +7,8 @@
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="title" translatable="yes">Select Cases</property>
     <property name="modal">True</property>
-    <property name="orientation">Vertical</property>
     <property name="help-page">SELECT-IF</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkVBox" id="dialog-hbox6">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="title" translatable="yes">Select Cases: Range</property>
     <property name="modal">True</property>
-    <property name="orientation">Vertical</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkVBox" id="dialog-hbox10">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="title" translatable="yes">Select Cases: Random Sample</property>
     <property name="modal">True</property>
-    <property name="orientation">Vertical</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkVBox" id="dialog-hbox13">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
index 16da2313c582cd616bbb98f761c6265c799ca54a..86a3311a2d8c17de01e7992653f38bb824e97ff8 100644 (file)
@@ -8,7 +8,7 @@
     <property name="title" translatable="yes">Sort Cases</property>
     <property name="modal">True</property>
     <property name="help-page">SORT-CASES</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox4">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
index 902b01b6a0804f5cb665869224c96cb263d29f0c..934f92091a917dc4dc1bab97896f05829d0fb908 100644 (file)
@@ -8,7 +8,7 @@
     <property name="title" translatable="yes">Split File</property>
     <property name="modal">True</property>
     <property name="help-page">SPLIT-FILE</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox3">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
index 0c256561d7a8c21e438ff60a9efd1b6688d53a72..96d177d1a6ca227257c7af4210d8d8ba85359790 100644 (file)
@@ -7,7 +7,7 @@
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="title" translatable="yes">Options</property>
     <property name="modal">True</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox3">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="title" translatable="yes">One - Sample T Test</property>
     <property name="modal">True</property>
-    <property name="orientation">Tabular</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkTable" id="dialog-hbox5">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
index a4c8fa82801a459c9eeaa736a2ca851dc0b89d85..da548ee2eaaa9e5377d2267f5ba3a86d6ca45ff0 100644 (file)
@@ -6,7 +6,7 @@
   <object class="PsppireDialog" id="univariate-dialog">
     <property name="title" translatable="yes">Univariate</property>
     <property name="modal">True</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox1">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="title" translatable="yes">Univariate: Save</property>
     <property name="modal">True</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox2">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="title" translatable="yes">Univariate: Statistics</property>
     <property name="modal">True</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHBox" id="dialog-hbox3">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
index 0d7f41307be271079ee2c08e6933928bdcf8c984..588bc42601ca36230cca470a8395d996dc698a46 100644 (file)
@@ -443,7 +443,7 @@ psppire_val_labs_dialog_constructor (GType                  type,
     type, n_properties, properties);
   dialog = PSPPIRE_VAL_LABS_DIALOG (obj);
 
-  content_area = GTK_CONTAINER (PSPPIRE_DIALOG (dialog)->box);
+  content_area = GTK_CONTAINER (PSPPIRE_DIALOG (dialog));
   gtk_container_add (GTK_CONTAINER (content_area),
                      get_widget_assert (xml, "val-labs-dialog"));
 
index 52811c9af5047c5af6205452f5c0198166b0e381..63f73a9114dd0fd32479298a20a02a7e4c6e80df 100644 (file)
@@ -531,7 +531,7 @@ psppire_var_type_dialog_constructor (GType                  type,
 
   xml = builder_new ("var-type-dialog.ui");
 
-  content_area = GTK_CONTAINER (PSPPIRE_DIALOG (dialog)->box);
+  content_area = GTK_CONTAINER (PSPPIRE_DIALOG (dialog));
   gtk_container_add (GTK_CONTAINER (content_area),
                      get_widget_assert (xml, "var-type-dialog"));
 
index 74523b339ca5043bdb2985e133c59336a75ef4cd..8674036d5514e89017ce385519f020261c6930a8 100644 (file)
@@ -8,7 +8,7 @@
     <property name="title" translatable="yes">Variables</property>
     <property name="modal">True</property>
     <property name="slidable">True</property>
-    <child internal-child="hbox">
+    <child>
       <object class="GtkHPaned" id="dialog-hbox2">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>