Added feature to make OK and PASTE buttons insensitive until the dialog box
[pspp-builds.git] / src / ui / gui / ChangeLog
index 74fc10fea5a90f9437f94a0ee6f17411ca41b51a..c0c4d28388d6cd488e77c3f092c1ed0e14b1c4c8 100644 (file)
@@ -1,3 +1,17 @@
+2007-10-06  John Darrington <john@darrington.wattle.id.au>
+       
+       * psppire-dialog.c psppire-dialog.h: Added a predicate function
+       member to indicate when a dialog's state is (not) valid. Added a
+       signal "validity-changed" which gets emitted whenever this
+       predicate changes. 
+
+       * psppire-buttonbox.c: Connect to the toplevel window's
+       "validity-changed" signal (assuming it happens to be a
+       PsppireDialog) and set the OK, PASTE, GOTO and CONTINUE buttons
+       according.y. 
+
+       * descriptives-dialog.c compute-dialog.c: Add a validity predicate.
+
 2007-10-04  John Darrington <john@darrington.wattle.id.au>
 
        * compute-dialog.c goto-case-dialog.c main.c psppire-keypad.c: Added