[gimp] app: don't register action for GimpOperationTool
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: don't register action for GimpOperationTool
- Date: Thu, 30 Jan 2020 00:57:53 +0000 (UTC)
commit 2255d628916565e4be5cb97119fb554bfe96fb6b
Author: Ell <ell_se yahoo com>
Date: Wed Jan 29 21:40:59 2020 +0200
app: don't register action for GimpOperationTool
Allow creating GimpToolInfo objects with a NULL menu label, and do
that for GimpOperationTool. The previous commit effectively
removed it from the Preferences tool editor, and this commit also
removes it from the action search.
app/core/gimptoolinfo.c | 1 -
app/tools/gimpoperationtool.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/app/core/gimptoolinfo.c b/app/core/gimptoolinfo.c
index b5e1ae90a7..b6531f70f5 100644
--- a/app/core/gimptoolinfo.c
+++ b/app/core/gimptoolinfo.c
@@ -139,7 +139,6 @@ gimp_tool_info_new (Gimp *gimp,
g_return_val_if_fail (identifier != NULL, NULL);
g_return_val_if_fail (label != NULL, NULL);
g_return_val_if_fail (tooltip != NULL, NULL);
- g_return_val_if_fail (menu_label != NULL, NULL);
g_return_val_if_fail (help_id != NULL, NULL);
g_return_val_if_fail (paint_core_name != NULL, NULL);
g_return_val_if_fail (icon_name != NULL, NULL);
diff --git a/app/tools/gimpoperationtool.c b/app/tools/gimpoperationtool.c
index 22bef367a3..2c16ca351d 100644
--- a/app/tools/gimpoperationtool.c
+++ b/app/tools/gimpoperationtool.c
@@ -130,7 +130,7 @@ gimp_operation_tool_register (GimpToolRegisterCallback callback,
"gimp-operation-tool",
_("GEGL Operation"),
_("Operation Tool: Use an arbitrary GEGL operation"),
- N_("_GEGL Operation..."), NULL,
+ NULL, NULL,
NULL, GIMP_HELP_TOOL_GEGL,
GIMP_ICON_GEGL,
data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]