diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-11-07 09:11:29 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-11-07 09:11:29 +0000 |
commit | 4335ce353df9f818dd7c58f86a5a239ebdf841a1 (patch) | |
tree | 025b0fa964b812e79b0878562f1251e975c11ef0 /libsylph | |
parent | 1907b8dee91d178ce1c92ff4c84597079ee7cf19 (diff) |
implemented auto-save.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@718 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-rw-r--r-- | libsylph/prefs_common.c | 3 | ||||
-rw-r--r-- | libsylph/prefs_common.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c index 1c90fd7e..9e53a98f 100644 --- a/libsylph/prefs_common.c +++ b/libsylph/prefs_common.c @@ -82,6 +82,9 @@ static PrefParam param[] = { {"linewrap_before_sending", "FALSE", &prefs_common.linewrap_at_send, P_BOOL}, + {"enable_autosave", "FALSE", &prefs_common.enable_autosave, P_BOOL}, + {"autosave_interval", "5", &prefs_common.autosave_itv, P_INT}, + {"reply_with_quote", "TRUE", &prefs_common.reply_with_quote, P_BOOL}, {"reply_account_autoselect", "TRUE", &prefs_common.reply_account_autosel, P_BOOL}, diff --git a/libsylph/prefs_common.h b/libsylph/prefs_common.h index c6b85b1f..eb162f31 100644 --- a/libsylph/prefs_common.h +++ b/libsylph/prefs_common.h @@ -78,6 +78,8 @@ struct _PrefsCommon gboolean autowrap; gboolean linewrap_at_send; gboolean auto_exteditor; + gboolean enable_autosave; + gint autosave_itv; gboolean reply_account_autosel; gboolean default_reply_list; gboolean show_ruler; |