aboutsummaryrefslogtreecommitdiff
path: root/libsylph
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-07-30 06:16:49 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-07-30 06:16:49 +0000
commite29900ebe2fadd133dda97ce21be84dd6e8f0bdb (patch)
treec085ebd8b5198b26341c63ebfb3ddd6d377de020 /libsylph
parent13d01a84fdb1f7243b07741f793de51e4c0d89a5 (diff)
added new global option 'Change current account on folder open'.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2649 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-rw-r--r--libsylph/prefs_common.c2
-rw-r--r--libsylph/prefs_common.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c
index 34c928eb..ee5f87d1 100644
--- a/libsylph/prefs_common.c
+++ b/libsylph/prefs_common.c
@@ -409,6 +409,8 @@ static PrefParam param[] = {
{"open_inbox_on_inc", "FALSE", &prefs_common.open_inbox_on_inc, P_BOOL},
{"open_inbox_on_startup", "FALSE", &prefs_common.open_inbox_on_startup,
P_BOOL},
+ {"change_account_on_folder_selection", "TRUE",
+ &prefs_common.change_account_on_folder_sel, P_BOOL},
{"immediate_execution", "TRUE", &prefs_common.immediate_exec, P_BOOL},
#ifdef G_OS_WIN32
diff --git a/libsylph/prefs_common.h b/libsylph/prefs_common.h
index 1ce4724d..c1bc3f11 100644
--- a/libsylph/prefs_common.h
+++ b/libsylph/prefs_common.h
@@ -317,6 +317,8 @@ struct _PrefsCommon
gboolean fullauto_completion_mode; /* Compose */
gchar *user_agent_str;
+
+ gboolean change_account_on_folder_sel; /* Interface */
};
extern PrefsCommon prefs_common;