projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd1d9e2
)
Fixes NB#125835, wakeup send queue headers before flushing the accounts
author
Sergio Villar Senin
<svillar@igalia.com>
Wed, 1 Jul 2009 15:22:11 +0000
(17:22 +0200)
committer
Sergio Villar Senin
<svillar@igalia.com>
Wed, 1 Jul 2009 15:22:11 +0000
(17:22 +0200)
src/modest-utils.c
patch
|
blob
|
history
diff --git
a/src/modest-utils.c
b/src/modest-utils.c
index
019504c
..
3c2ad2f
100644
(file)
--- a/
src/modest-utils.c
+++ b/
src/modest-utils.c
@@
-1154,10
+1154,14
@@
modest_utils_flush_send_queue (const gchar *account_id)
account_id);
if (account) {
+ ModestMailOperation *wakeup_op;
ModestTnySendQueue *send_queue = modest_runtime_get_send_queue (account, TRUE);
/* Flush it! */
- tny_camel_send_queue_flush ((TnyCamelSendQueue *) send_queue);
+ wakeup_op = modest_mail_operation_new (NULL);
+ modest_mail_operation_queue_add (modest_runtime_get_mail_operation_queue (),
+ wakeup_op);
+ modest_mail_operation_queue_wakeup (wakeup_op, send_queue);
g_object_unref (account);
}