[gimp] app: add gegl:plasma to Filters -> Render -> Clouds



commit b60d361d6cd3b861dd38c46b1227a5a41381ff38
Author: Michael Natterer <mitch gimp org>
Date:   Tue Aug 27 08:14:51 2013 +0200

    app: add gegl:plasma to Filters -> Render -> Clouds

 app/actions/filters-actions.c |    6 ++++++
 app/tools/gimpgegltool.c      |    1 +
 menus/image-menu.xml.in       |    4 +++-
 3 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c
index d998fec..b1fa217 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -215,6 +215,11 @@ static const GimpStringActionEntry filters_actions[] =
     "gegl:pixelize",
     NULL /* FIXME GIMP_HELP_FILTER_PIXELIZE */ },
 
+  { "filters-plasma", GIMP_STOCK_GEGL,
+    NC_("filters-action", "_Plasma..."), NULL, NULL,
+    "gegl:plasma",
+    NULL /* FIXME GIMP_HELP_FILTER_PLASMA */ },
+
   { "filters-polar-coordinates", GIMP_STOCK_GEGL,
     NC_("filters-action", "P_olar Coordinates..."), NULL, NULL,
     "gegl:polar-coordinates",
@@ -371,6 +376,7 @@ filters_actions_update (GimpActionGroup *group,
   SET_SENSITIVE ("filters-lens-distortion",         writable);
   SET_SENSITIVE ("filters-photocopy",               writable);
   SET_SENSITIVE ("filters-pixelize",                writable);
+  SET_SENSITIVE ("filters-plasma",                  writable);
   SET_SENSITIVE ("filters-polar-coordinates",       writable);
   SET_SENSITIVE ("filters-red-eye-removal",         writable && !gray);
   SET_SENSITIVE ("filters-ripple",                  writable);
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index 95e1b6a..634d098 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -151,6 +151,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
     "gegl:noise-spread",
     "gegl:photocopy",
     "gegl:pixelize",
+    "gegl:plasma",
     "gegl:polar-coordinates",
     "gegl:red-eye-removal",
     "gegl:ripple",
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index 8b21a28..d78d46c 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -691,7 +691,9 @@
         <menuitem action="filters-tile-seamless" />
       </menu>
       <menu action="plug-in-render-menu" name="Render">
-        <menu action="plug-in-render-clouds-menu" name="Clouds" />
+        <menu action="plug-in-render-clouds-menu" name="Clouds">
+         <menuitem action="filters-plasma" />
+       </menu>
         <menu action="plug-in-render-nature-menu" name="Nature" />
         <menu action="plug-in-render-pattern-menu" name="Pattern">
          <menuitem action="filters-checkerboard" />


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