aboutsummaryrefslogtreecommitdiff
path: root/src/summaryview.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-12-01 08:22:38 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-12-01 08:22:38 +0000
commitcc658280e2b77e42531ae9aa07c18cf9aea0fd4c (patch)
treee8cb97d212fcee20d093fb3e16cd9b44752a2e6a /src/summaryview.c
parent6cc2012df1b49b57e204a3e75c7850b339d10486 (diff)
added an option 'Always mark as read when a message is opened'.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2729 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/summaryview.c')
-rw-r--r--src/summaryview.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/summaryview.c b/src/summaryview.c
index c187a3de..01606b76 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -2735,7 +2735,8 @@ static void summary_display_msg_full(SummaryView *summaryview,
gtk_widget_grab_focus(summaryview->treeview);
}
- if (val == 0 && new_window) {
+ if (val == 0 &&
+ (new_window || prefs_common.always_mark_read_on_show_msg)) {
if (MSG_IS_NEW(msginfo->flags) ||
MSG_IS_UNREAD(msginfo->flags)) {
summary_mark_row_as_read(summaryview, iter);