I am working on the dialog generation code in src/gnome/query-user.c We need to add support for delete events on this window, which may have one or more of the following buttons: ok/yes no cancel Which buttons are present are selectable by the user. A code is set which tells the user which button was pressed to close the window. So, we could: 1. Add another argument which specifies the code for a delete 2. Add a special value for delete which the user code must check for 3. Disable deletes. Not really a good idea. 4. Or, if there is a cancel button then delete = cancel else if there is a no button then delete = no else delete = yes. I prefer 4, so unless there objections, that's what I'll go with. dave -- Gnucash Developer's List To unsubscribe send empty email to: [EMAIL PROTECTED]