aboutsummaryrefslogtreecommitdiff
path: root/libsylph/prefs_common.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2014-11-05 07:55:58 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2014-11-05 07:55:58 +0000
commitc839eb55e48796e60bb075dbc6d8867c6af371bd (patch)
treec8020a0e1ac44fb76d752844789bc8afb53a1236 /libsylph/prefs_common.c
parent1f58874e6bfff7b6f9ac3c93b322dd77f1f1aea0 (diff)
added an option to specify startup online mode.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3431 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/prefs_common.c')
-rw-r--r--libsylph/prefs_common.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c
index 2d3184cc..2d8d2917 100644
--- a/libsylph/prefs_common.c
+++ b/libsylph/prefs_common.c
@@ -476,6 +476,9 @@ static PrefParam param[] = {
{"logwindow_line_limit", "1000", &prefs_common.logwin_line_limit,
P_INT},
+ {"online_mode", "TRUE", &prefs_common.online_mode, P_BOOL},
+ {"startup_online_mode", "1", &prefs_common.startup_online_mode, P_INT},
+
/* External commands */
#ifdef G_OS_WIN32
{"uri_open_command", NULL, &prefs_common.uri_cmd,
@@ -545,7 +548,7 @@ void prefs_common_read_config(void)
g_free(path);
- prefs_common.online_mode = TRUE;
+ //prefs_common.online_mode = TRUE;
path = g_strconcat(get_rc_dir(), G_DIR_SEPARATOR_S, COMMAND_HISTORY,
NULL);