aboutsummaryrefslogtreecommitdiff
path: root/libsylph
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-12-08 09:40:09 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-12-08 09:40:09 +0000
commit250608fdd38ac19b93609e7c88a4263febf7143c (patch)
tree8a022394f5d50949bb718654ee7af857a1fbbc6f /libsylph
parentdca30a04e7c82a23f4c45777f31c10180f2f37ed (diff)
added the option to input signature directly.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1408 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-rw-r--r--libsylph/prefs_account.c3
-rw-r--r--libsylph/prefs_account.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/libsylph/prefs_account.c b/libsylph/prefs_account.c
index 20f07eb3..d9fb433a 100644
--- a/libsylph/prefs_account.c
+++ b/libsylph/prefs_account.c
@@ -78,9 +78,10 @@ static PrefParam param[] = {
{"pop_before_smtp", "FALSE", &tmp_ac_prefs.pop_before_smtp, P_BOOL},
/* Compose */
- {"signature_type", "0", &tmp_ac_prefs.sig_type, P_ENUM},
+ {"signature_type", "2", &tmp_ac_prefs.sig_type, P_ENUM},
{"signature_path", "~" G_DIR_SEPARATOR_S DEFAULT_SIGNATURE,
&tmp_ac_prefs.sig_path, P_STRING},
+ {"signature_text", NULL, &tmp_ac_prefs.sig_text, P_STRING},
{"set_autocc", "FALSE", &tmp_ac_prefs.set_autocc, P_BOOL},
{"auto_cc", NULL, &tmp_ac_prefs.auto_cc, P_STRING},
{"set_autobcc", "FALSE", &tmp_ac_prefs.set_autobcc, P_BOOL},
diff --git a/libsylph/prefs_account.h b/libsylph/prefs_account.h
index a093b1a5..8c848f64 100644
--- a/libsylph/prefs_account.h
+++ b/libsylph/prefs_account.h
@@ -116,6 +116,7 @@ struct _PrefsAccount
/* Compose */
SigType sig_type;
gchar *sig_path;
+ gchar *sig_text;
gboolean set_autocc;
gchar *auto_cc;
gboolean set_autobcc;