aboutsummaryrefslogtreecommitdiff
path: root/libsylph
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 /libsylph
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 'libsylph')
-rw-r--r--libsylph/prefs_common.c2
-rw-r--r--libsylph/prefs_common.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c
index ee5f87d1..2cf13174 100644
--- a/libsylph/prefs_common.c
+++ b/libsylph/prefs_common.c
@@ -402,6 +402,8 @@ static PrefParam param[] = {
&prefs_common.always_show_msg, P_BOOL},
{"open_unread_on_enter", "FALSE", &prefs_common.open_unread_on_enter,
P_BOOL},
+ {"always_mark_read_on_show_msg", "FALSE",
+ &prefs_common.always_mark_read_on_show_msg, P_BOOL},
{"remember_last_selected", "FALSE",
&prefs_common.remember_last_selected, P_BOOL},
{"mark_as_read_on_new_window", "FALSE",
diff --git a/libsylph/prefs_common.h b/libsylph/prefs_common.h
index c1bc3f11..1630adce 100644
--- a/libsylph/prefs_common.h
+++ b/libsylph/prefs_common.h
@@ -319,6 +319,7 @@ struct _PrefsCommon
gchar *user_agent_str;
gboolean change_account_on_folder_sel; /* Interface */
+ gboolean always_mark_read_on_show_msg; /* Interface */
};
extern PrefsCommon prefs_common;