From cb0f123ef7a2d83796a648baa14e93ed00c639d6 Mon Sep 17 00:00:00 2001 From: hiro Date: Thu, 17 Nov 2005 07:12:59 +0000 Subject: implemented spell checking. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@754 ee746299-78ed-0310-b773-934348b2243d --- libsylph/prefs_common.c | 4 ++++ libsylph/prefs_common.h | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'libsylph') 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; -- cgit v1.2.3