[gimp] app: add gegl:waves to Filters -> Distorts



commit 338ca6694a8c3b05f7e4e763f4677090498494bb
Author: Michael Natterer <mitch gimp org>
Date:   Sat Jun 1 15:13:40 2013 +0200

    app: add gegl:waves to Filters -> Distorts

 app/actions/filters-actions.c |    6 ++++++
 app/tools/gimpgegltool.c      |    1 +
 menus/image-menu.xml.in       |    1 +
 3 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c
index 5ac5cc9..d807669 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -235,6 +235,11 @@ static const GimpStringActionEntry filters_actions[] =
     "gegl:vignette",
     NULL /* FIXME GIMP_HELP_FILTER_VIGNETTE */ },
 
+  { "filters-waves", GIMP_STOCK_GEGL,
+    NC_("filters-action", "_Waves..."), NULL, NULL,
+    "gegl:waves",
+    NULL /* FIXME GIMP_HELP_FILTER_WAVES */ },
+
   { "filters-whirl-pinch", GIMP_STOCK_GEGL,
     NC_("filters-action", "W_hirl and Pinch..."), NULL, NULL,
     "gegl:whirl-pinch",
@@ -341,6 +346,7 @@ filters_actions_update (GimpActionGroup *group,
   SET_SENSITIVE ("filters-threshold-alpha",         writable && alpha);
   SET_SENSITIVE ("filters-unsharp-mask",            writable);
   SET_SENSITIVE ("filters-vignette",                writable);
+  SET_SENSITIVE ("filters-waves",                   writable);
   SET_SENSITIVE ("filters-whirl-pinch",             writable);
 
 #undef SET_SENSITIVE
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index 18f62ef..bdf2cd2 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -153,6 +153,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
     "gegl:unsharp-mask",
     "gegl:value-invert",
     "gegl:vignette",
+    "gegl:waves",
     "gegl:whirl-pinch",
 
     /* these ops are blacklisted for other reasons */
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index 91facd0..59f59a0 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -637,6 +637,7 @@
        <menuitem action="filters-polar-coordinates" />
         <menuitem action="filters-ripple" />
         <menuitem action="filters-shift" />
+        <menuitem action="filters-waves" />
         <menuitem action="filters-whirl-pinch" />
       </menu>
       <menu action="plug-in-light-shadow-menu" name="Light and Shadow">


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