From cdf2c7ba4be4cb6b65b83752b544849db3cace31 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Sat, 9 Mar 2013 22:59:13 +0100 Subject: [PATCH] app, menus: add CIE lch noise to the menus --- app/actions/filters-actions.c | 7 +++++++ app/tools/gimpgegltool.c | 3 ++- menus/image-menu.xml.in | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c index ac0e742d5f..968989402b 100644 --- a/app/actions/filters-actions.c +++ b/app/actions/filters-actions.c @@ -105,6 +105,12 @@ static const GimpStringActionEntry filters_actions[] = "gegl:mono-mixer", NULL /* FIXME GIMP_HELP_FILTER_MONO_MIXER */ }, + { "filters-noise-cie-lch", GIMP_STOCK_GEGL, + NC_("filters-action", "CIE lch Noise..."), NULL, + NC_("filters-action", "Randomize lightness, chroma and hue independently"), + "gegl:noise-CIE_lch", + NULL /* FIXME GIMP_HELP_FILTER_NOISE_CIE_LCH */ }, + { "filters-noise-hsv", GIMP_STOCK_GEGL, NC_("filters-action", "HSV Noise..."), NULL, NC_("filters-action", "Scattering pixel values in HSV space"), @@ -247,6 +253,7 @@ filters_actions_update (GimpActionGroup *group, SET_SENSITIVE ("filters-gaussian-blur", writable); SET_SENSITIVE ("filters-laplace", writable); SET_SENSITIVE ("filters-mono-mixer", writable && !gray); + SET_SENSITIVE ("filters-noise-cie-lch", writable); SET_SENSITIVE ("filters-noise-hsv", writable && !gray); SET_SENSITIVE ("filters-noise-hurl", writable); SET_SENSITIVE ("filters-noise-pick", writable); diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c index 2246777e9e..8067c1cd23 100644 --- a/app/tools/gimpgegltool.c +++ b/app/tools/gimpgegltool.c @@ -135,9 +135,10 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name, "gegl:lens-distortion", /* in gimp */ "gegl:matting-global", /* useless */ "gegl:mono-mixer", /* in gimp */ + "gegl:noise-CIE_lch", /* in gimp */ + "gegl:noise-hsv", /* in gimp */ "gegl:noise-hurl", /* in gimp */ "gegl:noise-pick", /* in gimp */ - "gegl:noise-hsv", /* in gimp */ "gegl:noise-rgb", /* in gimp */ "gegl:noise-slur", /* in gimp */ "gegl:opacity", /* pointless */ diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in index 8bd23b3456..ad417007bb 100644 --- a/menus/image-menu.xml.in +++ b/menus/image-menu.xml.in @@ -630,6 +630,7 @@ +