X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fwidgets%2Fmodest-window-mgr.c;h=3312baae7dac857455b033ed6cc83fb922b22e90;hp=d7adb5ac87d362c626f552fa3f92e9404dafed92;hb=9050c48d211f9c73bee9f157ed2b72e77df350c6;hpb=06e1cfff284e0df5f036b202680587fb5110e1be diff --git a/src/widgets/modest-window-mgr.c b/src/widgets/modest-window-mgr.c index d7adb5a..3312baa 100644 --- a/src/widgets/modest-window-mgr.c +++ b/src/widgets/modest-window-mgr.c @@ -443,10 +443,10 @@ on_window_destroy (ModestWindow *window, if (!sent && modest_msg_edit_window_is_modified (MODEST_MSG_EDIT_WINDOW (window))) { response = - modest_platform_run_yes_no_dialog (GTK_WINDOW (window), - _("mcen_nc_no_email_message_modified_save_changes")); + modest_platform_run_confirmation_dialog (GTK_WINDOW (window), + _("mcen_nc_no_email_message_modified_save_changes")); /* Save to drafts */ - if (response != GTK_RESPONSE_NO) + if (response != GTK_RESPONSE_CANCEL) modest_ui_actions_on_save_to_drafts (NULL, MODEST_MSG_EDIT_WINDOW (window)); }