Commit c4300929 authored by Tomas Popela's avatar Tomas Popela

Bug 339511 - Need a more helpful message when no dictionary is installed

Hide the spell check actions when no dictionary is installed.
parent cd84b283
......@@ -127,7 +127,8 @@ editor_update_static_spell_actions (EHTMLEditor *editor)
gtk_action_set_visible (ACTION (CONTEXT_SPELL_ADD_MENU), count > 1);
gtk_action_set_visible (ACTION (CONTEXT_SPELL_IGNORE), count > 0);
gtk_action_set_sensitive (ACTION (SPELL_CHECK), count > 0);
gtk_action_set_visible (ACTION (SPELL_CHECK), count > 0);
gtk_action_set_visible (ACTION (LANGUAGE_MENU), count > 0);
}
/*****************************************************************************
......
......@@ -101,6 +101,8 @@
E_HTML_EDITOR_ACTION ((editor), "justify-left")
#define E_HTML_EDITOR_ACTION_JUSTIFY_RIGHT(editor) \
E_HTML_EDITOR_ACTION ((editor), "justify-right")
#define E_HTML_EDITOR_ACTION_LANGUAGE_MENU(editor) \
E_HTML_EDITOR_ACTION ((editor), "language-menu")
#define E_HTML_EDITOR_ACTION_MODE_HTML(editor) \
E_HTML_EDITOR_ACTION ((editor), "mode-html")
#define E_HTML_EDITOR_ACTION_MODE_PLAIN(editor) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment