From f48cc5efc812ab9c62b2cff21625c93cd4b0b6f8 Mon Sep 17 00:00:00 2001 From: Javier Fernandez Garcia-Boente Date: Thu, 26 Jul 2007 16:42:09 +0000 Subject: [PATCH] * Open outbox messages in a draft view window. * Fixes: NB#57915 pmo-trunk-r2808 --- src/modest-ui-actions.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modest-ui-actions.c b/src/modest-ui-actions.c index e13fe00..57b50fa 100644 --- a/src/modest-ui-actions.c +++ b/src/modest-ui-actions.c @@ -746,7 +746,8 @@ open_msg_cb (ModestMailOperation *mail_op, /* If the header is in the drafts folder then open the editor, else the message view window */ - if (folder_type == TNY_FOLDER_TYPE_DRAFTS) { + if ((folder_type == TNY_FOLDER_TYPE_DRAFTS) || + (folder_type == TNY_FOLDER_TYPE_OUTBOX)) { /* we cannot edit without a valid account... */ if (!modest_account_mgr_has_accounts(modest_runtime_get_account_mgr(), TRUE)) { run_account_setup_wizard(parent_win); -- 1.7.9.5