diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2011-06-06 05:24:33 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2011-06-06 05:24:33 +0000 |
commit | f1746b3308d931646ebd955b1ee479fc9ff8bb57 (patch) | |
tree | d020e9a6b0b062d8b1e3830bfec147c4a6d05e21 | |
parent | 793e7f66692b4c7b2b4ebf5bf8dbf69ce086ed13 (diff) |
don't close compose window when saving to outbox failed.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2884 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/compose.c | 7 |
2 files changed, 9 insertions, 3 deletions
@@ -1,3 +1,8 @@ +2011-06-06 + + * src/compose.c: compose_send(): don't close compose window when + saving to outbox failed. + 2011-05-18 * libsylph/codeconv.c: conv_encode_header(): replaced alloca() with diff --git a/src/compose.c b/src/compose.c index b24b1d0f..61e23e5e 100644 --- a/src/compose.c +++ b/src/compose.c @@ -3568,10 +3568,11 @@ static gint compose_send(Compose *compose) if (!drop_done) { outbox = account_get_special_folder (compose->account, F_OUTBOX); - if (procmsg_save_to_outbox(outbox, tmp) < 0) + if (procmsg_save_to_outbox(outbox, tmp) < 0) { alertpanel_error - (_("Can't save the message to outbox.")); - else + (_("Sending of message was completed, but the message could not be saved to outbox.")); + ok = -2; + } else folderview_update_item(outbox, TRUE); } } |