Messages in the Outbox are opened with the viewer, not
authorAlberto Garcia <agarcia@igalia.com>
Wed, 17 Oct 2007 10:46:05 +0000 (10:46 +0000)
committerAlberto Garcia <agarcia@igalia.com>
Wed, 17 Oct 2007 10:46:05 +0000 (10:46 +0000)
with the editor
Fixes NB#65333

pmo-trunk-r3519

src/modest-ui-actions.c

index e4798cf..7708beb 100644 (file)
@@ -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))