These changes fix bug NB#78736.
authorJose Dapena Paz <jdapena@igalia.com>
Thu, 24 Jan 2008 10:16:12 +0000 (10:16 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Thu, 24 Jan 2008 10:16:12 +0000 (10:16 +0000)
commit6dff75fc6a5d9515c03abb45d2f000b9eeacfbd4
tree90a805ff33f4d3d7bbed4f18ff40b249aec73651
parente0521cac248602856888d8dffd4e34857737e57a
These changes fix bug NB#78736.
* src/modest-mail-operation.[ch]:
        * New mail operation run_queue. This mail operation runs when
          the send queue is looping through messages. This is used to
          warrant that we don't kill modest while we're sending
          messages, in a safer way (we were trying to detect the mail
          send attempt result, and it was not warranted to happen).
        * Remove all the code to process sent and error signals in
          send queue to finish send mail operations.
        * Now both update_account and send_mail operations notify end
          after setting up the send queue, not after knowing the send
          queue has sent the message. This way we rely now on the
          autoconfigured mail operation that lives with the send queue
          runnings.
* src/modest-tny-send-queue.c:
        * Now we hook on queue-start signal. This is for creating a mail
          operation that lives while we're trying to send messages.

pmo-trunk-r4083
src/modest-mail-operation.c
src/modest-mail-operation.h
src/modest-tny-send-queue.c