summary refs log tree commit diff stats
path: root/src/fe-gtk/setup.c
diff options
context:
space:
mode:
authorDiogo Sousa <diogogsousa@gmail.com>2013-05-24 16:46:35 +0100
committerDiogo Sousa <diogogsousa@gmail.com>2013-05-24 16:46:35 +0100
commit4402ea34def027b971a8523844fd95e13cfa2e57 (patch)
treeb9cfe9e7bce3cf230e75c8adbb09cc8c294e87bd /src/fe-gtk/setup.c
parentfaa53a5335d2536afc33c1082bf7a946061740e1 (diff)
Fixed mistake in last commit.
Diffstat (limited to 'src/fe-gtk/setup.c')
-rw-r--r--src/fe-gtk/setup.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fe-gtk/setup.c b/src/fe-gtk/setup.c
index 19d2ee5a..20783259 100644
--- a/src/fe-gtk/setup.c
+++ b/src/fe-gtk/setup.c
@@ -2013,7 +2013,10 @@ setup_apply_to_sess (session_gui *gui)
 #endif
 
 #ifdef USE_LIBSEXY
-	sexy_spell_entry_update_languages ((SexySpellEntry *)gui->input_box);
+	/* 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
 }