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



commit be5e2e6991a9f7b2c89b831029ba27aaeaed1890
Author: Michael Natterer <mitch gimp org>
Date:   Mon Dec 15 23:42:57 2014 +0100

    app: add gegl:engrave to Filters -> Distorts

 app/actions/filters-actions.c |    6 ++++++
 app/sanity.c                  |    1 +
 app/tools/gimpgegltool.c      |    1 +
 menus/image-menu.xml.in       |    1 +
 4 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c
index 5e4cde0..be0504e 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -154,6 +154,11 @@ static const GimpStringActionEntry filters_actions[] =
     "gegl:emboss",
     NULL /* FIXME GIMP_HELP_FILTER_EMBOSS */ },
 
+  { "filters-engrave", GIMP_STOCK_GEGL,
+    NC_("filters-action", "_En_grave..."), NULL, NULL,
+    "gegl:engrave",
+    NULL /* FIXME GIMP_HELP_FILTER_ENGRAVE */ },
+
   { "filters-exposure", GIMP_STOCK_GEGL,
     NC_("filters-action", "_E_xposure..."), NULL, NULL,
     "gegl:exposure",
@@ -478,6 +483,7 @@ filters_actions_update (GimpActionGroup *group,
   SET_SENSITIVE ("filters-edge-laplace",            writable);
   SET_SENSITIVE ("filters-edge-sobel",              writable);
   SET_SENSITIVE ("filters-emboss",                  writable);
+  SET_SENSITIVE ("filters-engrave",                 writable);
   SET_SENSITIVE ("filters-exposure",                writable);
   SET_SENSITIVE ("filters-fractal-trace",           writable);
   SET_SENSITIVE ("filters-gaussian-blur",           writable);
diff --git a/app/sanity.c b/app/sanity.c
index c6b46c1..9d4e0a6 100644
--- a/app/sanity.c
+++ b/app/sanity.c
@@ -497,6 +497,7 @@ sanity_check_gegl_ops (void)
     "gegl:edge-laplace",
     "gegl:edge-sobel",
     "gegl:emboss",
+    "gegl:engrave",
     "gegl:exposure",
     "gegl:fractal-trace",
     "gegl:gaussian-blur",
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index 341a47a..b2a07c2 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -138,6 +138,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
     "gegl:edge-laplace",
     "gegl:edge-sobel",
     "gegl:emboss",
+    "gegl:engrave",
     "gegl:exposure",
     "gegl:fractal-trace",
     "gegl:gaussian-blur",
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index f24e273..4c9ca01 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -652,6 +652,7 @@
       <menu action="plug-in-distorts-menu" name="Distorts">
        <menuitem action="filters-apply-lens" />
        <menuitem action="filters-emboss" />
+       <menuitem action="filters-engrave" />
         <menuitem action="filters-lens-distortion" />
         <menuitem action="filters-kaleidoscope" />
         <menuitem action="filters-mosaic" />


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