summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTingPing <tngpng@gmail.com>2013-05-24 08:53:48 -0700
committerTingPing <tngpng@gmail.com>2013-05-24 08:53:48 -0700
commit4878012065e03f9e3fe9d22a243fd430651c55d2 (patch)
treeb9cfe9e7bce3cf230e75c8adbb09cc8c294e87bd
parent44a88fc1ab604de35f5319eedac73c7211db992f (diff)
parent4402ea34def027b971a8523844fd95e13cfa2e57 (diff)
Merge pull request #621 from orium/dictionaries-update-fix
Spell check dictionaries were not being updated when changed
-rw-r--r--src/fe-gtk/setup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fe-gtk/setup.c b/src/fe-gtk/setup.c
index a47fce12..20783259 100644
--- a/src/fe-gtk/setup.c
+++ b/src/fe-gtk/setup.c
@@ -2013,6 +2013,10 @@ setup_apply_to_sess (session_gui *gui)
 #endif
 
 #ifdef USE_LIBSEXY
+	/* update active languages */
+	sexy_spell_entry_deactivate_language((SexySpellEntry *)gui->input_box,NULL);
+	sexy_spell_entry_activate_default_languages((SexySpellEntry *)gui->input_box);
+
 	sexy_spell_entry_set_checked ((SexySpellEntry *)gui->input_box, prefs.hex_gui_input_spell);
 #endif
 }