From 1c1be6a9e85e94ea3050af6eebe545d201940720 Mon Sep 17 00:00:00 2001 From: hiro Date: Tue, 14 Jun 2005 05:19:37 +0000 Subject: fixed a bug that the change of color labels was not saved. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@337 ee746299-78ed-0310-b773-934348b2243d --- ChangeLog | 5 +++++ ChangeLog.ja | 5 +++++ src/summaryview.c | 3 +++ 3 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index e54aa9cc..b17ae728 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-06-14 + + * src/summaryview.c: summary_set_colorlabel(): fixed a bug that the + change of color labels was not saved. + 2005-06-13 * src/prefs_common.[ch] diff --git a/ChangeLog.ja b/ChangeLog.ja index fe3c915d..25bc6b1d 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -1,3 +1,8 @@ +2005-06-14 + + * src/summaryview.c: summary_set_colorlabel(): カラーラベルの変更が + 保存されていなかったバグを修正。 + 2005-06-13 * src/prefs_common.[ch] diff --git a/src/summaryview.c b/src/summaryview.c index 5b3a5b19..ed446ffd 100644 --- a/src/summaryview.c +++ b/src/summaryview.c @@ -3934,6 +3934,9 @@ void summary_set_colorlabel(SummaryView *summaryview, guint labelcolor, MSG_SET_COLORLABEL_VALUE(msginfo->flags, labelcolor); summary_set_row(summaryview, &iter, msginfo); } + + if (rows) + summaryview->folder_item->mark_dirty = TRUE; } static void summary_colorlabel_menu_item_activate_item_cb(GtkMenuItem *menuitem, -- cgit v1.2.3