[gimp] app: add gegl:noise-cell and gegl:noise-reduction to the menus



commit a601e21281bd4faa550c194596b3f3e8a4c444e8
Author: Michael Natterer <mitch gimp org>
Date:   Mon May 5 01:57:33 2014 +0200

    app: add gegl:noise-cell and gegl:noise-reduction to the menus

 app/actions/filters-actions.c |   12 ++++++++++++
 app/tools/gimpgegltool.c      |    2 ++
 menus/image-menu.xml.in       |    2 ++
 3 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c
index 2d337a9..a90a5ee 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -185,6 +185,11 @@ static const GimpStringActionEntry filters_actions[] =
     "gegl:motion-blur-zoom",
     NULL /* FIXME GIMP_HELP_FILTER_MOTION_BLUR_ZOOM */ },
 
+  { "filters-noise-cell", GIMP_STOCK_GEGL,
+    NC_("filters-action", "_Cell Noise..."), NULL, NULL,
+    "gegl:noise-cell",
+    NULL /* FIXME GIMP_HELP_FILTER_NOISE_CELL */ },
+
   { "filters-noise-cie-lch", GIMP_STOCK_GEGL,
     NC_("filters-action", "CIE lch Noise..."), NULL, NULL,
     "gegl:noise-cie-lch",
@@ -210,6 +215,11 @@ static const GimpStringActionEntry filters_actions[] =
     "gegl:noise-rgb",
     NULL /* FIXME GIMP_HELP_FILTER_NOISE_RGB */ },
 
+  { "filters-noise-reduction", GIMP_STOCK_GEGL,
+    NC_("filters-action", "Noise R_eduction..."), NULL, NULL,
+    "gegl:noise-reduction",
+    NULL /* FIXME GIMP_HELP_FILTER_NOISE_REDUCTION */ },
+
   { "filters-noise-slur", GIMP_STOCK_GEGL,
     NC_("filters-action", "_Slur..."), NULL, NULL,
     "gegl:noise-slur",
@@ -399,10 +409,12 @@ filters_actions_update (GimpActionGroup *group,
   SET_SENSITIVE ("filters-motion-blur-circular",    writable);
   SET_SENSITIVE ("filters-motion-blur-linear",      writable);
   SET_SENSITIVE ("filters-motion-blur-zoom",        writable);
+  SET_SENSITIVE ("filters-noise-cell",              writable);
   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);
+  SET_SENSITIVE ("filters-noise-reduction",         writable);
   SET_SENSITIVE ("filters-noise-rgb",               writable);
   SET_SENSITIVE ("filters-noise-slur",              writable);
   SET_SENSITIVE ("filters-noise-spread",            writable);
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index ddb70ba..3c6a696 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -145,10 +145,12 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
     "gegl:motion-blur-circular",
     "gegl:motion-blur-linear",
     "gegl:motion-blur-zoom",
+    "gegl:noise-cell",
     "gegl:noise-cie-lch",
     "gegl:noise-hsv",
     "gegl:noise-hurl",
     "gegl:noise-pick",
+    "gegl:noise-reduction",
     "gegl:noise-rgb",
     "gegl:noise-slur",
     "gegl:noise-spread",
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index a2aa12a..160f03e 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -642,6 +642,7 @@
       <menu action="plug-in-enhance-menu" name="Enhance">
         <menuitem action="filters-antialias" />
         <menuitem action="filters-deinterlace" />
+        <menuitem action="filters-noise-reduction" />
         <menuitem action="filters-red-eye-removal" />
         <menuitem action="filters-unsharp-mask" />
       </menu>
@@ -698,6 +699,7 @@
       </menu>
       <menu action="plug-in-render-menu" name="Render">
         <menu action="plug-in-render-clouds-menu" name="Clouds">
+         <menuitem action="filters-noise-cell" />
          <menuitem action="filters-plasma" />
        </menu>
         <menu action="plug-in-render-nature-menu" name="Nature" />


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