aboutsummaryrefslogtreecommitdiff
path: root/libsylph
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-06-30 07:05:22 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-06-30 07:05:22 +0000
commit4a8036cd561af3db6578dba40e79c4e39940fbde (patch)
treeeeb13629619ea289a01acaeeb2145deaaaad49f7 /libsylph
parent6bcb771eafbef0bb433d13b0411ba101ea94aac7 (diff)
update summary view on receiving on the fly.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2591 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-rw-r--r--libsylph/libsylph-0.def1
-rw-r--r--libsylph/procmsg.c3
-rw-r--r--libsylph/procmsg.h2
3 files changed, 5 insertions, 1 deletions
diff --git a/libsylph/libsylph-0.def b/libsylph/libsylph-0.def
index 4a39cd53..b717c4da 100644
--- a/libsylph/libsylph-0.def
+++ b/libsylph/libsylph-0.def
@@ -676,3 +676,4 @@ EXPORTS
imap_msg_list_set_colorlabel_flags @ 674
filter_get_addressbook_func @ 675
filter_set_addressbook_func @ 676
+ procmsg_flaginfo_list_free @ 677
diff --git a/libsylph/procmsg.c b/libsylph/procmsg.c
index d9dacd6d..2f6ebaad 100644
--- a/libsylph/procmsg.c
+++ b/libsylph/procmsg.c
@@ -721,7 +721,7 @@ void procmsg_add_mark_queue(FolderItem *item, gint num, MsgFlags flags)
item->mark_queue = g_slist_prepend(item->mark_queue, flaginfo);
}
-static void procmsg_flaginfo_list_free(GSList *flaglist)
+void procmsg_flaginfo_list_free(GSList *flaglist)
{
GSList *cur;
MsgFlagInfo *flaginfo;
@@ -778,6 +778,7 @@ void procmsg_add_cache_queue(FolderItem *item, gint num, MsgInfo *msginfo)
queue_msginfo = procmsg_msginfo_copy(msginfo);
queue_msginfo->msgnum = num;
+ queue_msginfo->folder = item;
if (queue_msginfo->file_path) {
g_free(queue_msginfo->file_path);
queue_msginfo->file_path = NULL;
diff --git a/libsylph/procmsg.h b/libsylph/procmsg.h
index a83dde0e..32ec3dff 100644
--- a/libsylph/procmsg.h
+++ b/libsylph/procmsg.h
@@ -247,6 +247,8 @@ void procmsg_write_flags_list (FolderItem *item,
void procmsg_write_flags_for_multiple_folders
(GSList *mlist);
+void procmsg_flaginfo_list_free (GSList *flaglist);
+
void procmsg_flush_mark_queue (FolderItem *item,
FILE *fp);
void procmsg_add_mark_queue (FolderItem *item,