[gimp] app, menus: add gegl:edge-neon to Filters -> Edge Detect



commit d293a00995e865b0c5e7a0e95c5918d36e0fdced
Author: Michael Natterer <mitch gimp org>
Date:   Sun Jan 22 14:35:35 2017 +0100

    app, menus: add gegl:edge-neon to Filters -> Edge Detect

 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 f214003..35f9455 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -227,6 +227,11 @@ static const GimpStringActionEntry filters_actions[] =
     "gegl:edge-laplace",
     NULL /* FIXME GIMP_HELP_FILTER_EDGE_LAPLACE */ },
 
+  { "filters-edge-neon", GIMP_STOCK_GEGL,
+    NC_("filters-action", "_Neon..."), NULL, NULL,
+    "gegl:edge-neon",
+    NULL /* FIXME GIMP_HELP_FILTER_EDGE_LAPLACE */ },
+
   { "filters-edge-sobel", GIMP_STOCK_GEGL,
     NC_("filters-action", "_Sobel..."), NULL, NULL,
     "gegl:edge-sobel",
@@ -680,6 +685,7 @@ filters_actions_update (GimpActionGroup *group,
   SET_SENSITIVE ("filters-dropshadow",              writable && alpha);
   SET_SENSITIVE ("filters-edge",                    writable);
   SET_SENSITIVE ("filters-edge-laplace",            writable);
+  SET_SENSITIVE ("filters-edge-neon",               writable);
   SET_SENSITIVE ("filters-edge-sobel",              writable);
   SET_SENSITIVE ("filters-emboss",                  writable);
   SET_SENSITIVE ("filters-engrave",                 writable);
diff --git a/app/sanity.c b/app/sanity.c
index 4dfbd18..1cdb3b1 100644
--- a/app/sanity.c
+++ b/app/sanity.c
@@ -552,6 +552,7 @@ sanity_check_gegl_ops (void)
     "gegl:dropshadow",
     "gegl:edge",
     "gegl:edge-laplace",
+    "gegl:edge-neon",
     "gegl:edge-sobel",
     "gegl:emboss",
     "gegl:engrave",
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index 06f09d6..043b546 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -138,6 +138,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
     "gegl:dropshadow",
     "gegl:edge",
     "gegl:edge-laplace",
+    "gegl:edge-neon",
     "gegl:edge-sobel",
     "gegl:emboss",
     "gegl:engrave",
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index c7999ce..175d131 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -742,6 +742,7 @@
         <menuitem action="filters-difference-of-gaussians" />
         <menuitem action="filters-edge" />
         <menuitem action="filters-edge-laplace" />
+        <menuitem action="filters-edge-neon" />
         <menuitem action="filters-edge-sobel" />
       </menu>
       <menu action="filters-generic-menu" name="Generic">


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