From 74427ec2552637c6260c7968045620b42102f685 Mon Sep 17 00:00:00 2001
From: John Darrington
Date: Sun, 22 Jan 2012 18:19:51 +0100
Subject: [PATCH 3/3] Converted variable-info-dialog into a PsppireDialogAction object.
This change also adds a "response" signal to PsppirDialog which
allows us to hook onto the result of running a dialog.
---
src/ui/gui/automake.mk | 2 +
src/ui/gui/data-editor.ui | 3 +-
src/ui/gui/psppire-data-window.c | 4 -
src/ui/gui/psppire-dialog-action-var-info.c | 229 +++++++++++++++++++++++++++
src/ui/gui/psppire-dialog-action-var-info.h | 78 +++++++++
src/ui/gui/psppire-dialog.c | 15 ++
src/ui/gui/variable-info-dialog.c | 223 --------------------------
src/ui/gui/variable-info-dialog.h | 24 ---
src/ui/gui/widgets.c | 2 +
9 files changed, 328 insertions(+), 252 deletions(-)
create mode 100644 src/ui/gui/psppire-dialog-action-var-info.c
create mode 100644 src/ui/gui/psppire-dialog-action-var-info.h
delete mode 100644 src/ui/gui/variable-info-dialog.c
delete mode 100644 src/ui/gui/variable-info-dialog.h
diff --git a/src/ui/gui/automake.mk b/src/ui/gui/automake.mk
index 73dcc06..094b1d1 100644
--- a/src/ui/gui/automake.mk
+++ b/src/ui/gui/automake.mk
@@ -214,6 +214,8 @@ src_ui_gui_psppire_SOURCES = \
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-dialog-action-var-info.c \
+ src/ui/gui/psppire-dialog-action-var-info.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 88a228d..d190a44 100644
--- a/src/ui/gui/data-editor.ui
+++ b/src/ui/gui/data-editor.ui
@@ -490,7 +490,8 @@
-