From 74b0d2ad147e813218b3618bb6f3c014bd46e505 Mon Sep 17 00:00:00 2001 From: Ell Date: Mon, 23 Mar 2020 21:31:15 +0200 Subject: [PATCH] app, menus: add gegl:bloom to Filters -> Light and Shadow --- 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 1f66c0efce..925fcc95ef 100644 --- a/app/actions/filters-actions.c +++ b/app/actions/filters-actions.c @@ -189,6 +189,11 @@ static const GimpStringActionEntry filters_interactive_actions[] = "gegl:bayer-matrix", GIMP_HELP_FILTER_BAYER_MATRIX }, + { "filters-bloom", GIMP_ICON_GEGL, + NC_("filters-action", "_Bloom..."), NULL, NULL, + "gegl:bloom", + GIMP_HELP_FILTER_BLOOM }, + { "filters-brightness-contrast", GIMP_ICON_TOOL_BRIGHTNESS_CONTRAST, NC_("filters-action", "B_rightness-Contrast..."), NULL, NULL, "gimp:brightness-contrast", @@ -882,6 +887,7 @@ filters_actions_update (GimpActionGroup *group, SET_SENSITIVE ("filters-apply-canvas", writable); SET_SENSITIVE ("filters-apply-lens", writable); SET_SENSITIVE ("filters-bayer-matrix", writable); + SET_SENSITIVE ("filters-bloom", writable); SET_SENSITIVE ("filters-brightness-contrast", writable); SET_SENSITIVE ("filters-bump-map", writable); SET_SENSITIVE ("filters-c2g", writable && !gray); diff --git a/app/sanity.c b/app/sanity.c index c0a64bd01b..50070152de 100644 --- a/app/sanity.c +++ b/app/sanity.c @@ -606,6 +606,7 @@ sanity_check_gegl_ops (void) { "gegl:alien-map", "gegl:bayer-matrix", + "gegl:bloom", "gegl:buffer-sink", "gegl:buffer-source", "gegl:c2g", diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c index 0ca23d614d..5e44fe808d 100644 --- a/app/tools/gimpgegltool.c +++ b/app/tools/gimpgegltool.c @@ -149,6 +149,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name, "gegl:antialias", "gegl:apply-lens", "gegl:bayer-matrix", + "gegl:bloom", "gegl:bump-map", "gegl:c2g", "gegl:cartoon", diff --git a/app/widgets/gimphelp-ids.h b/app/widgets/gimphelp-ids.h index 47caeaa739..7692eba83b 100644 --- a/app/widgets/gimphelp-ids.h +++ b/app/widgets/gimphelp-ids.h @@ -347,6 +347,7 @@ #define GIMP_HELP_FILTER_APPLY_CANVAS "gimp-filter-apply-canvas" #define GIMP_HELP_FILTER_APPLY_LENS "gimp-filter-apply-lens" #define GIMP_HELP_FILTER_BAYER_MATRIX "gimp-filter-bayer-matrix" +#define GIMP_HELP_FILTER_BLOOM "gimp-filter-bloom" #define GIMP_HELP_FILTER_BUMP_MAP "gimp-filter-bump-map" #define GIMP_HELP_FILTER_C2G "gimp-filter-c2g" #define GIMP_HELP_FILTER_CARTOON "gimp-filter-cartoon" diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in index 14e6a6288c..a0fb06b755 100644 --- a/menus/image-menu.xml.in +++ b/menus/image-menu.xml.in @@ -740,6 +740,7 @@ +