diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2014-03-18 09:37:28 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2014-03-18 09:37:28 +0000 |
commit | a80079c9ef5b0a1d8736bb1442a88d1bf0a10fea (patch) | |
tree | 57efcaac1b5cd37237aa3b341ab15e0daec4fa70 /libsylph | |
parent | 445477bf9edea510634eefd9db694c6ca459fdeb (diff) |
added PGP encrypt-to-self feature.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3348 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-rw-r--r-- | libsylph/prefs_account.c | 3 | ||||
-rw-r--r-- | libsylph/prefs_account.h | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/libsylph/prefs_account.c b/libsylph/prefs_account.c index 8dd9a664..eeeef5b9 100644 --- a/libsylph/prefs_account.c +++ b/libsylph/prefs_account.c @@ -1,6 +1,6 @@ /* * LibSylph -- E-Mail client library - * Copyright (C) 1999-2010 Hiroyuki Yamamoto + * Copyright (C) 1999-2014 Hiroyuki Yamamoto * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -97,6 +97,7 @@ static PrefParam param[] = { {"default_sign", "FALSE", &tmp_ac_prefs.default_sign, P_BOOL}, {"default_encrypt", "FALSE", &tmp_ac_prefs.default_encrypt, P_BOOL}, {"encrypt_reply", "TRUE", &tmp_ac_prefs.encrypt_reply, P_BOOL}, + {"encrypt_to_self", "TRUE", &tmp_ac_prefs.encrypt_to_self, P_BOOL}, {"ascii_armored", "FALSE", &tmp_ac_prefs.ascii_armored, P_BOOL}, {"clearsign", "FALSE", &tmp_ac_prefs.clearsign, P_BOOL}, {"sign_key", NULL, &tmp_ac_prefs.sign_key, P_ENUM}, diff --git a/libsylph/prefs_account.h b/libsylph/prefs_account.h index df012c98..c8e37803 100644 --- a/libsylph/prefs_account.h +++ b/libsylph/prefs_account.h @@ -1,6 +1,6 @@ /* * LibSylph -- E-Mail client library - * Copyright (C) 1999-2010 Hiroyuki Yamamoto + * Copyright (C) 1999-2014 Hiroyuki Yamamoto * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -180,6 +180,9 @@ struct _PrefsAccount gboolean use_proxy_auth; gchar *proxy_name; gchar *proxy_pass; + + /* Privacy */ + gboolean encrypt_to_self; }; PrefsAccount *prefs_account_new (void); |