[gimp] app, menus: add CIE lch noise to the menus



commit cdf2c7ba4be4cb6b65b83752b544849db3cace31
Author: Michael Natterer <mitch gimp org>
Date:   Sat Mar 9 22:59:13 2013 +0100

    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 deletions(-)
---
diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c
index ac0e742..9689894 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 2246777..8067c1c 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 8bd23b3..ad41700 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -630,6 +630,7 @@
         <placeholder name="Glass" />
       </menu>
       <menu action="plug-in-noise-menu" name="Noise">
+        <menuitem action="filters-noise-cie-lch" />
         <menuitem action="filters-noise-hsv" />
         <menuitem action="filters-noise-hurl" />
         <menuitem action="filters-noise-pick" />


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]