From cdd129110c4bc3ca64205c0d2405dc7d81cc9bc2 Mon Sep 17 00:00:00 2001 From: Ell Date: Sun, 29 Apr 2018 08:00:19 -0400 Subject: [PATCH] app, menus: add gegl:recursive-transform to the menus --- app/actions/filters-actions.c | 6 ++++++ app/sanity.c | 1 + app/tools/gimpgegltool.c | 1 + app/widgets/gimphelp-ids.h | 1 + menus/image-menu.xml.in | 1 + 5 files changed, 10 insertions(+) diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c index 2022a0f09c..d94a179a11 100644 --- a/app/actions/filters-actions.c +++ b/app/actions/filters-actions.c @@ -548,6 +548,11 @@ static const GimpStringActionEntry filters_interactive_actions[] = "gimp:posterize", GIMP_HELP_FILTER_POSTERIZE }, + { "filters-recursive-transform", GIMP_ICON_GEGL, + NC_("filters-action", "_Recursive Transform..."), NULL, NULL, + "gegl:recursive-transform", + GIMP_HELP_FILTER_RECURSIVE_TRANSFORM }, + { "filters-red-eye-removal", GIMP_ICON_GEGL, NC_("filters-action", "_Red Eye Removal..."), NULL, NULL, "gegl:red-eye-removal", @@ -907,6 +912,7 @@ filters_actions_update (GimpActionGroup *group, SET_SENSITIVE ("filters-plasma", writable); SET_SENSITIVE ("filters-polar-coordinates", writable); SET_SENSITIVE ("filters-posterize", writable); + SET_SENSITIVE ("filters-recursive-transform", writable); SET_SENSITIVE ("filters-red-eye-removal", writable && !gray); SET_SENSITIVE ("filters-reinhard-2005", writable); SET_SENSITIVE ("filters-rgb-clip", writable); diff --git a/app/sanity.c b/app/sanity.c index 76ca102760..93a7387baf 100644 --- a/app/sanity.c +++ b/app/sanity.c @@ -681,6 +681,7 @@ sanity_check_gegl_ops (void) "gegl:photocopy", "gegl:pixelize", "gegl:polar-coordinates", + "gegl:recursive-transform", "gegl:red-eye-removal", "gegl:reinhard05", "gegl:rgb-clip", diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c index f553ca9f45..ea2015cefe 100644 --- a/app/tools/gimpgegltool.c +++ b/app/tools/gimpgegltool.c @@ -216,6 +216,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name, "gegl:pixelize", "gegl:plasma", "gegl:polar-coordinates", + "gegl:recursive-transform", "gegl:red-eye-removal", "gegl:reinhard05", "gegl:rgb-clip", diff --git a/app/widgets/gimphelp-ids.h b/app/widgets/gimphelp-ids.h index ba149533f9..853dfca8d2 100644 --- a/app/widgets/gimphelp-ids.h +++ b/app/widgets/gimphelp-ids.h @@ -417,6 +417,7 @@ #define GIMP_HELP_FILTER_PLASMA "gimp-filter-plasma" #define GIMP_HELP_FILTER_POLAR_COORDINATES "gimp-filter-polar-coordinates" #define GIMP_HELP_FILTER_POSTERIZE "gimp-filter-posterize" +#define GIMP_HELP_FILTER_RECURSIVE_TRANSFORM "gimp-filter-recursive-transform" #define GIMP_HELP_FILTER_RED_EYE_REMOVAL "gimp-filter-red-eye-removal" #define GIMP_HELP_FILTER_REINHARD_2005 "gimp-filter-reinhard-2005" #define GIMP_HELP_FILTER_RGB_CLIP "gimp-filter-rgb-clip" diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in index 13e6560005..6bbfce34ef 100644 --- a/menus/image-menu.xml.in +++ b/menus/image-menu.xml.in @@ -781,6 +781,7 @@ +