[evolution/gnome-3-38] I#1123 - Composer: Spell check menu hides "Add to Dictionary" after open
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-38] I#1123 - Composer: Spell check menu hides "Add to Dictionary" after open
- Date: Tue, 29 Sep 2020 15:50:36 +0000 (UTC)
commit 707792bdfef432b2fee6652f9705e0e5ba7a209f
Author: Milan Crha <mcrha redhat com>
Date: Tue Sep 29 17:47:11 2020 +0200
I#1123 - Composer: Spell check menu hides "Add to Dictionary" after open
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1123
src/e-util/e-html-editor-actions.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/e-util/e-html-editor-actions.c b/src/e-util/e-html-editor-actions.c
index 056158a030..98a4e93921 100644
--- a/src/e-util/e-html-editor-actions.c
+++ b/src/e-util/e-html-editor-actions.c
@@ -2067,9 +2067,7 @@ editor_actions_setup_spell_check_menu (EHTMLEditor *editor)
action, "activate",
G_CALLBACK (action_context_spell_add_cb), editor);
- /* Visibility is dependent on whether the
- * corresponding language action is active. */
- gtk_action_set_visible (action, FALSE);
+ gtk_action_set_visible (action, e_spell_checker_get_language_active (spell_checker, code));
gtk_action_group_add_action (action_group, action);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]