projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f635271
)
* Expunge the draft messages when removed. Fixes NB#60398
author
Sergio Villar Senin
<svillar@igalia.com>
Fri, 15 Jun 2007 09:08:06 +0000
(09:08 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Fri, 15 Jun 2007 09:08:06 +0000
(09:08 +0000)
pmo-trunk-r2251
src/modest-mail-operation.c
patch
|
blob
|
history
diff --git
a/src/modest-mail-operation.c
b/src/modest-mail-operation.c
index
ca10622
..
f24b1f5
100644
(file)
--- a/
src/modest-mail-operation.c
+++ b/
src/modest-mail-operation.c
@@
-599,7
+599,9
@@
modest_mail_operation_save_to_drafts (ModestMailOperation *self,
if (draft_msg != NULL) {
header = tny_msg_get_header (draft_msg);
+ /* Remove the old draft expunging it */
tny_folder_remove_msg (folder, header, NULL);
+ tny_folder_sync (folder, TRUE, NULL);
g_object_unref (header);
}