[gnome-text-editor] spellcheck: fix menu prefix for actions
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-text-editor] spellcheck: fix menu prefix for actions
- Date: Thu, 1 Jul 2021 22:06:31 +0000 (UTC)
commit 0532ae633d4378ec4fd4b9b24275aab80adaa2de
Author: Christian Hergert <chergert redhat com>
Date: Thu Jul 1 15:06:21 2021 -0700
spellcheck: fix menu prefix for actions
src/editor-spell-menu.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/editor-spell-menu.c b/src/editor-spell-menu.c
index b4e46ff..2996e46 100644
--- a/src/editor-spell-menu.c
+++ b/src/editor-spell-menu.c
@@ -55,9 +55,9 @@ editor_spell_menu_new (void)
g_autoptr(GMenu) corrections_section = g_menu_new ();
g_autoptr(GMenu) languages_menu = g_menu_new ();
g_autoptr(GMenuItem) languages_item = g_menu_item_new_submenu (_("Languages"), G_MENU_MODEL
(languages_menu));
- g_autoptr(GMenuItem) add_item = g_menu_item_new (_("Add to Dictionary"), "spellcheck.add");
- g_autoptr(GMenuItem) ignore_item = g_menu_item_new (_("Ignore"), "spellcheck.ignore");
- g_autoptr(GMenuItem) check_item = g_menu_item_new (_("Check Spelling"), "spellcheck.enabled");
+ g_autoptr(GMenuItem) add_item = g_menu_item_new (_("Add to Dictionary"), "spelling.add");
+ g_autoptr(GMenuItem) ignore_item = g_menu_item_new (_("Ignore"), "spelling.ignore");
+ g_autoptr(GMenuItem) check_item = g_menu_item_new (_("Check Spelling"), "spelling.enabled");
g_menu_item_set_attribute (add_item, "hidden-when", "s", "action-disabled");
g_menu_item_set_attribute (ignore_item, "hidden-when", "s", "action-disabled");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]