[PATCH] Fix ESC key handling in Save dialog.

Sergey Starosek sergey.starosek at gmail.com
Sun Mar 3 01:32:56 PST 2013


Closing unsaved dive raises Save dialog with Yes/No/Cancel buttons.
Pressing ESC dismisses dialog without saving changes.

This commit adds GTK_RESPONSE_DELETE_EVENT response code check in order
to fix that behavior.

Reported-by: Jan Schubert <Jan.Schubert at GMX.li>
Signed-off-by: Sergey Starosek <sergey.starosek at gmail.com>
---
 gtk-gui.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-ESC-key-handling-in-Save-dialog.patch
Type: text/x-patch
Size: 455 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130303/4abc6e6c/attachment.bin>


More information about the subsurface mailing list