diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2010-01-15 08:42:58 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2010-01-15 08:42:58 +0000 |
commit | 4463ed43c3de45b41291c59770e1380651423471 (patch) | |
tree | f93d32ef1186b1df203e9fc7b1a434ea9a585cb2 /src | |
parent | 18dada4c482c17bec614b8e0dca44cd2408e9922 (diff) |
save color labels on IMAP server using custom keywords (partially compatible with Thunderbird).
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2433 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src')
-rw-r--r-- | src/summaryview.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/summaryview.c b/src/summaryview.c index 966bcf42..b8514066 100644 --- a/src/summaryview.c +++ b/src/summaryview.c @@ -4923,6 +4923,14 @@ void summary_set_colorlabel(SummaryView *summaryview, guint labelcolor, summary_set_row(summaryview, &iter, msginfo); } + if (FOLDER_TYPE(summaryview->folder_item->folder) == F_IMAP) { + GSList *msglist; + + msglist = summary_get_selected_msg_list(summaryview); + imap_msg_list_set_colorlabel_flags(msglist, labelcolor); + g_slist_free(msglist); + } + if (rows) summaryview->folder_item->mark_dirty = TRUE; |