From: Alberto Garcia Date: Wed, 17 Oct 2007 10:46:05 +0000 (+0000) Subject: Messages in the Outbox are opened with the viewer, not X-Git-Tag: git_migration_finished~2253 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=9fa4ec42dfd91348e7f2509a10ae85219ddee98d Messages in the Outbox are opened with the viewer, not with the editor Fixes NB#65333 pmo-trunk-r3519 --- diff --git a/src/modest-ui-actions.c b/src/modest-ui-actions.c index e4798cf..7708beb 100644 --- a/src/modest-ui-actions.c +++ b/src/modest-ui-actions.c @@ -909,8 +909,7 @@ open_msg_cb (ModestMailOperation *mail_op, TnyHeader *header, TnyMsg *msg, gpoi /* If the header is in the drafts folder then open the editor, else the message view window */ - if ((folder_type == TNY_FOLDER_TYPE_DRAFTS) || - (folder_type == TNY_FOLDER_TYPE_OUTBOX)) { + if (folder_type == TNY_FOLDER_TYPE_DRAFTS) { /* we cannot edit without a valid account... */ if (!modest_account_mgr_has_accounts(modest_runtime_get_account_mgr(), TRUE)) { if (!modest_ui_actions_run_account_setup_wizard(parent_win))