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



commit 9e429993c71097659d20b57e15974b8644c500e6
Author: Téo Mazars <teomazars gmail com>
Date:   Sun Dec 1 12:55:44 2013 +0100

    app: add gegl:wind 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 9900fe3..00ad162 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -294,6 +294,11 @@ static const GimpStringActionEntry filters_actions[] =
     NC_("filters-action", "W_hirl and Pinch..."), NULL, NULL,
     "gegl:whirl-pinch",
     NULL /* FIXME GIMP_HELP_FILTER_WHIRL_PINCH */ },
+
+  { "filters-wind", GIMP_STOCK_GEGL,
+    NC_("filters-action", "W_ind..."), NULL, NULL,
+    "gegl:wind",
+    NULL /* FIXME GIMP_HELP_FILTER_WIND */ },
 };
 
 void
@@ -407,6 +412,7 @@ filters_actions_update (GimpActionGroup *group,
   SET_SENSITIVE ("filters-vignette",                writable);
   SET_SENSITIVE ("filters-waves",                   writable);
   SET_SENSITIVE ("filters-whirl-pinch",             writable);
+  SET_SENSITIVE ("filters-wind",                    writable);
 
 #undef SET_SENSITIVE
 }
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index 02a0575..ea35352 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -166,6 +166,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
     "gegl:vignette",
     "gegl:waves",
     "gegl:whirl-pinch",
+    "gegl:wind",
 
     /* these ops are blacklisted for other reasons */
     "gegl:contrast-curve",
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index e6bb586..6b2e846 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -652,6 +652,7 @@
         <menuitem action="filters-shift" />
         <menuitem action="filters-waves" />
         <menuitem action="filters-whirl-pinch" />
+        <menuitem action="filters-wind" />
       </menu>
       <menu action="plug-in-light-shadow-menu" name="Light and Shadow">
         <placeholder name="Light" />


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