From 17acfb09e8e8fedd3a2dac7e3f836ecea3ba1218 Mon Sep 17 00:00:00 2001 From: Geert Janssens Date: Wed, 22 Aug 2012 14:01:17 +0000 Subject: [PATCH] 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 --- src/gnome-utils/dialog-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gnome-utils/dialog-utils.c b/src/gnome-utils/dialog-utils.c index e6df76b327..351577b657 100644 --- a/src/gnome-utils/dialog-utils.c +++ b/src/gnome-utils/dialog-utils.c @@ -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)