projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cdee01
)
* Fixes NB#81413, Esc key closes the "Save changes" dialog and the editor window...
author
Sergio Villar Senin
<svillar@igalia.com>
Wed, 27 Feb 2008 12:43:56 +0000
(12:43 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Wed, 27 Feb 2008 12:43:56 +0000
(12:43 +0000)
pmo-trunk-r4233
src/widgets/modest-window-mgr.c
patch
|
blob
|
history
diff --git
a/src/widgets/modest-window-mgr.c
b/src/widgets/modest-window-mgr.c
index
3b62214
..
4d32a10
100644
(file)
--- a/
src/widgets/modest-window-mgr.c
+++ b/
src/widgets/modest-window-mgr.c
@@
-708,7
+708,7
@@
on_window_destroy (ModestWindow *window,
modest_platform_run_confirmation_dialog (GTK_WINDOW (window),
_("mcen_nc_no_email_message_modified_save_changes"));
/* Save to drafts */
- if (response != GTK_RESPONSE_CANCEL)
+ if (response == GTK_RESPONSE_OK)
if (!modest_ui_actions_on_save_to_drafts (NULL, MODEST_MSG_EDIT_WINDOW (window)))
return TRUE;
}