aboutsummaryrefslogtreecommitdiff
path: root/libsylph
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-12-14 06:59:29 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-12-14 06:59:29 +0000
commit6e466a9e0cf75cf6e4a512fcdb793766f0c45a63 (patch)
tree78e513f9e9b3288162adf452835d693434fcec5d /libsylph
parent53d03c4970876ad8387fb3a743a25f4b9cec85e3 (diff)
added an option to update only INBOX on checking new messages of IMAP4 accounts.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@827 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-rw-r--r--libsylph/prefs_account.c2
-rw-r--r--libsylph/prefs_account.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/libsylph/prefs_account.c b/libsylph/prefs_account.c
index dd281904..c53975d7 100644
--- a/libsylph/prefs_account.c
+++ b/libsylph/prefs_account.c
@@ -61,6 +61,8 @@ static PrefParam param[] = {
{"enable_size_limit", "FALSE", &tmp_ac_prefs.enable_size_limit, P_BOOL},
{"size_limit", "1024", &tmp_ac_prefs.size_limit, P_INT},
{"filter_on_receive", "TRUE", &tmp_ac_prefs.filter_on_recv, P_BOOL},
+ {"imap_check_inbox_only", "FALSE", &tmp_ac_prefs.imap_check_inbox_only,
+ P_BOOL},
{"imap_auth_method", "0", &tmp_ac_prefs.imap_auth_type, P_ENUM},
{"max_nntp_articles", "300", &tmp_ac_prefs.max_nntp_articles, P_INT},
{"receive_at_get_all", "TRUE", &tmp_ac_prefs.recv_at_getall, P_BOOL},
diff --git a/libsylph/prefs_account.h b/libsylph/prefs_account.h
index ee3db7c8..640ba3f6 100644
--- a/libsylph/prefs_account.h
+++ b/libsylph/prefs_account.h
@@ -86,15 +86,17 @@ struct _PrefsAccount
gboolean rmmail;
gint msg_leave_time;
gboolean getall;
- gboolean recv_at_getall;
gboolean enable_size_limit;
gint size_limit;
gboolean filter_on_recv;
gchar *inbox;
+ gboolean imap_check_inbox_only;
gint imap_auth_type;
gint max_nntp_articles;
+ gboolean recv_at_getall;
+
/* Send */
gboolean add_date;
gboolean gen_msgid;