diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2010-12-15 09:17:37 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2010-12-15 09:17:37 +0000 |
commit | 43b9c44f81953f695eb4dfd804cff3ae2dfbe306 (patch) | |
tree | 32ddd7dcd6009670404b4d42c5fe8473bb003918 /src/summaryview.c | |
parent | f985d12decd4b43be0961afc38697970468f9042 (diff) |
mark as read when message view is toggled on.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2755 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/summaryview.c')
-rw-r--r-- | src/summaryview.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/summaryview.c b/src/summaryview.c index c2d5a1e6..80e8adb9 100644 --- a/src/summaryview.c +++ b/src/summaryview.c @@ -2893,9 +2893,10 @@ gboolean summary_step(SummaryView *summaryview, GtkScrollType type) void summary_toggle_view(SummaryView *summaryview) { if (!messageview_is_visible(summaryview->messageview) && - summaryview->selected) + summaryview->selected) { summary_display_msg_selected(summaryview, FALSE, FALSE); - else + summary_mark_displayed_read(summaryview, NULL); + } else main_window_toggle_message_view(summaryview->mainwin); } |