From 30c97c5f7cfd396cd66ff227a84010f2451aa107 Mon Sep 17 00:00:00 2001
From: John Darrington
Date: Sun, 22 Jan 2012 18:09:12 +0100
Subject: [PATCH 2/3] Convert the descriptives dialog box to a PsppireDialogAction object
---
src/ui/gui/automake.mk | 4 +-
src/ui/gui/data-editor.ui | 3 +-
src/ui/gui/descriptives-dialog.c | 271 -----------------------
src/ui/gui/descriptives-dialog.h | 24 --
src/ui/gui/psppire-data-window.c | 3 -
src/ui/gui/psppire-dialog-action-descriptives.c | 254 +++++++++++++++++++++
src/ui/gui/psppire-dialog-action-descriptives.h | 83 +++++++
src/ui/gui/widgets.c | 4 +
8 files changed, 345 insertions(+), 301 deletions(-)
delete mode 100644 src/ui/gui/descriptives-dialog.c
delete mode 100644 src/ui/gui/descriptives-dialog.h
create mode 100644 src/ui/gui/psppire-dialog-action-descriptives.c
create mode 100644 src/ui/gui/psppire-dialog-action-descriptives.h
diff --git a/src/ui/gui/automake.mk b/src/ui/gui/automake.mk
index 7dcc799..73dcc06 100644
--- a/src/ui/gui/automake.mk
+++ b/src/ui/gui/automake.mk
@@ -162,8 +162,6 @@ src_ui_gui_psppire_SOURCES = \
src/ui/gui/crosstabs-dialog.h \
src/ui/gui/customentry.c \
src/ui/gui/customentry.h \
- src/ui/gui/descriptives-dialog.c \
- src/ui/gui/descriptives-dialog.h \
src/ui/gui/dialog-common.c \
src/ui/gui/dialog-common.h \
src/ui/gui/dict-display.h \
@@ -214,6 +212,8 @@ src_ui_gui_psppire_SOURCES = \
src/ui/gui/psppire-dialog.h \
src/ui/gui/psppire-dialog-action.c \
src/ui/gui/psppire-dialog-action.h \
+ src/ui/gui/psppire-dialog-action-descriptives.c \
+ src/ui/gui/psppire-dialog-action-descriptives.h \
src/ui/gui/psppire-dict.c \
src/ui/gui/psppire-dict.h \
src/ui/gui/psppire-dictview.c \
diff --git a/src/ui/gui/data-editor.ui b/src/ui/gui/data-editor.ui
index fcfc8c2..88a228d 100644
--- a/src/ui/gui/data-editor.ui
+++ b/src/ui/gui/data-editor.ui
@@ -350,7 +350,8 @@
-