diff options
author | TingPing <tingping@tingping.se> | 2013-10-01 12:09:17 -0400 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2013-10-03 16:23:46 -0400 |
commit | f6dd61cb024d34df477db55edf8fc2f560a49480 (patch) | |
tree | 1a60d6efe3d19bee3d68a5ac1cdc0dc437a9856a /src/fe-gtk/setup.c | |
parent | eb93130cd3a846650dfbb972194190e91564df02 (diff) |
Update to gtkspell3's iso code lookup
This no longer requires libxml so now there is no reason for this to be optional
Diffstat (limited to 'src/fe-gtk/setup.c')
-rw-r--r-- | src/fe-gtk/setup.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/fe-gtk/setup.c b/src/fe-gtk/setup.c index 3dd09568..99fb9434 100644 --- a/src/fe-gtk/setup.c +++ b/src/fe-gtk/setup.c @@ -189,15 +189,13 @@ static const setting inputbox_settings[] = {ST_TOGGLE, N_("Use the Text box font and colors"), P_OFFINTNL(hex_gui_input_style),0,0,0}, {ST_TOGGLE, N_("Show nick box"), P_OFFINTNL(hex_gui_input_nick),0,0,1}, {ST_TOGGLE, N_("Show user mode icon in nick box"), P_OFFINTNL(hex_gui_input_icon),0,0,0}, -#ifdef USE_SPELL {ST_TOGGLE, N_("Spell checking"), P_OFFINTNL(hex_gui_input_spell),0,0,1}, {ST_ENTRY, N_("Dictionaries to use:"), P_OFFSETNL(hex_text_spell_langs),0,0,sizeof prefs.hex_text_spell_langs}, #ifdef WIN32 - {ST_LABEL, N_("Use language codes (as in \"share\\myspell\\dicts\").\nSeparate multiple entries with commas.")}, + {ST_LABEL, N_("Use language codes (as in \"%LOCALAPPDATA%\\enchant\\myspell\\dicts\").\nSeparate multiple entries with commas.")}, #else {ST_LABEL, N_("Use language codes. Separate multiple entries with commas.")}, #endif -#endif {ST_HEADER, N_("Nick Completion"),0,0,0}, {ST_ENTRY, N_("Nick completion suffix:"), P_OFFSETNL(hex_completion_suffix),0,0,sizeof prefs.hex_completion_suffix}, @@ -2021,13 +2019,11 @@ setup_apply_to_sess (session_gui *gui) else gtk_widget_hide (gui->button_box); -#ifdef USE_SPELL /* 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 } static void |