diff options
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/mbox/camel-mbox-folder.c | 3 | ||||
-rw-r--r-- | camel/providers/mbox/camel-mbox-summary.c | 5 |
2 files changed, 4 insertions, 4 deletions
diff --git a/camel/providers/mbox/camel-mbox-folder.c b/camel/providers/mbox/camel-mbox-folder.c index 7e55610cf8..8c45d64fd7 100644 --- a/camel/providers/mbox/camel-mbox-folder.c +++ b/camel/providers/mbox/camel-mbox-folder.c @@ -260,6 +260,9 @@ mbox_expunge (CamelFolder *folder, CamelException *ex) camel_exception_setv (ex, CAMEL_EXCEPTION_FOLDER_INVALID, /* FIXME: right error code */ "Could not expunge: %s", strerror(errno)); } + + /* TODO: check it actually changed */ + gtk_signal_emit_by_name((GtkObject *)folder, "folder_changed", 0); } diff --git a/camel/providers/mbox/camel-mbox-summary.c b/camel/providers/mbox/camel-mbox-summary.c index b4b341fd40..754f211dfe 100644 --- a/camel/providers/mbox/camel-mbox-summary.c +++ b/camel/providers/mbox/camel-mbox-summary.c @@ -1429,10 +1429,7 @@ camel_mbox_summary_expunge(CamelMboxSummary *s) /* remove this message from the index */ if (s->index) { - char name[32]; - - sprintf(name, "%x", info->info.uid); - ibex_unindex(s->index, name); + ibex_unindex(s->index, info->info.uid); } camel_mbox_summary_remove_uid(s, info->info.uid); |