From e29900ebe2fadd133dda97ce21be84dd6e8f0bdb Mon Sep 17 00:00:00 2001 From: hiro Date: Fri, 30 Jul 2010 06:16:49 +0000 Subject: 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 --- libsylph/prefs_common.c | 2 ++ libsylph/prefs_common.h | 2 ++ 2 files changed, 4 insertions(+) (limited to 'libsylph') 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; -- cgit v1.2.3