Allan> We should probably change the Cancel label to Close once someone has
Allan> pressed Apply since this more accurately reflects reality. I did this in
Allan> the old tree and advocate it in the GUII doc. It's pretty easy to
Allan> implement.
Allan, I like this idea, but think we can do better. I think that we should
toggle continuously between "Close" and "Cancel"
I'm being serious!
The scheme below will also allow you to discard your Reset button.
When the dialog is launched it should have
1 (Ok disabled) (Apply disabled) and Close
The user inputs something (anything valid) and the buttons change to
2 (Ok enabled) (Apply enabled) and Cancel
The user hits Cancel and we revert to the original contents and to buttons 1
The user hits Apply, the original contents get updated and we revert to buttons 1
The user hits Ok, the original contents get updated and the dialog closes.
Angus