Question dialog: treat close button in title bar as "Cancel" iso "No"

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22342 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Geert Janssens 2012-08-22 14:01:17 +00:00
parent 44fd7a4a57
commit 17acfb09e8

View File

@ -599,7 +599,7 @@ gnc_dialog_run (GtkDialog *dialog, const gchar *gconf_key)
response = gtk_dialog_run(dialog);
if ((response == GTK_RESPONSE_NONE) || (response == GTK_RESPONSE_DELETE_EVENT))
{
return GTK_RESPONSE_NO;
return GTK_RESPONSE_CANCEL;
}
if (response != GTK_RESPONSE_CANCEL)