aboutsummaryrefslogtreecommitdiff
path: root/libsylph
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-11-17 07:12:59 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-11-17 07:12:59 +0000
commitcb0f123ef7a2d83796a648baa14e93ed00c639d6 (patch)
treeb13de4e2b471f7ec086d88f7b7ce51d5d126dbff /libsylph
parentc21b3e1d1c8635bdeb9ead64d5616621cd2fa451 (diff)
implemented spell checking.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@754 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-rw-r--r--libsylph/prefs_common.c4
-rw-r--r--libsylph/prefs_common.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c
index 73c21817..69b05440 100644
--- a/libsylph/prefs_common.c
+++ b/libsylph/prefs_common.c
@@ -93,6 +93,10 @@ static PrefParam param[] = {
{"show_ruler", "TRUE", &prefs_common.show_ruler, P_BOOL},
+ /* Spelling */
+ {"check_spell", "FALSE", &prefs_common.check_spell, P_BOOL},
+ {"spell_lang", "en", &prefs_common.spell_lang, P_STRING},
+
/* Quote */
{"reply_quote_mark", "> ", &prefs_common.quotemark, P_STRING},
{"reply_quote_format", "On %d\\n%f wrote:\\n\\n%Q",
diff --git a/libsylph/prefs_common.h b/libsylph/prefs_common.h
index eb162f31..0db81ded 100644
--- a/libsylph/prefs_common.h
+++ b/libsylph/prefs_common.h
@@ -84,6 +84,10 @@ struct _PrefsCommon
gboolean default_reply_list;
gboolean show_ruler;
+ /* Spelling */
+ gboolean check_spell;
+ gchar *spell_lang;
+
/* Quote */
gboolean reply_with_quote;
gchar *quotemark;