summary refs log tree commit diff stats
path: root/src/fe-gtk/setup.c
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2011-08-07 18:26:31 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2011-08-07 18:26:31 +0200
commit69aedf51cea645e1dfcbc6f629f8d1461e6e6349 (patch)
treedd3a07fe2c014c367f7b1421b25889f227a75464 /src/fe-gtk/setup.c
parentd8cac3bcfe4728b224497ca9411d19f1bd5f1a31 (diff)
recognize all installed dictionaries and select the required ones via spell_langs
Diffstat (limited to 'src/fe-gtk/setup.c')
-rw-r--r--src/fe-gtk/setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fe-gtk/setup.c b/src/fe-gtk/setup.c
index 250accc5..17a1b1a5 100644
--- a/src/fe-gtk/setup.c
+++ b/src/fe-gtk/setup.c
@@ -151,6 +151,8 @@ static const setting inputbox_settings[] =
 	{ST_TOGGLE, N_("Use the Text box font and colors"), P_OFFINTNL(style_inputbox),0,0,0},
 #if defined(USE_GTKSPELL) || defined(USE_LIBSEXY)
 	{ST_TOGGLE, N_("Spell checking"), P_OFFINTNL(gui_input_spell),0,0,0},
+	{ST_ENTRY,	N_("Dictionaries to use:"), P_OFFSETNL(spell_langs),0,0,sizeof prefs.spell_langs},
+	{ST_LABEL,	N_("Use language codes (as in \"share\\locale\"). Separate multiple entries with commas.\nUsing too many dictionaries may cause performance problems.")},
 #endif
 
 	{ST_HEADER, N_("Nick Completion"),0,0,0},