AUDIT: r22342 - gnucash/trunk/src/gnome-utils - Question dialog: treat close button in title bar as "Cancel" iso "No"

Geert Janssens gjanssens at code.gnucash.org
Wed Aug 22 10:01:17 EDT 2012


Author: gjanssens
Date: 2012-08-22 10:01:17 -0400 (Wed, 22 Aug 2012)
New Revision: 22342
Trac: http://svn.gnucash.org/trac/changeset/22342

Modified:
   gnucash/trunk/src/gnome-utils/dialog-utils.c
Log:
Question dialog: treat close button in title bar as "Cancel" iso "No"
BP

Modified: gnucash/trunk/src/gnome-utils/dialog-utils.c
===================================================================
--- gnucash/trunk/src/gnome-utils/dialog-utils.c	2012-08-22 13:26:10 UTC (rev 22341)
+++ gnucash/trunk/src/gnome-utils/dialog-utils.c	2012-08-22 14:01:17 UTC (rev 22342)
@@ -599,7 +599,7 @@
     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)



More information about the gnucash-changes mailing list