From e44e738267ed35f7e01cd526fd2480d56e5cc02b Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Tue, 3 Mar 2015 22:55:39 +0100 Subject: [PATCH] app: add gegl:edge 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(+) diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c index a77b1bd228..54651b3762 100644 --- a/app/actions/filters-actions.c +++ b/app/actions/filters-actions.c @@ -149,6 +149,11 @@ static const GimpStringActionEntry filters_actions[] = "gegl:dropshadow", NULL /* FIXME GIMP_HELP_FILTER_DROPSHADOW */ }, + { "filters-edge", GIMP_STOCK_GEGL, + NC_("filters-action", "_Edge..."), NULL, NULL, + "gegl:edge", + NULL /* FIXME GIMP_HELP_FILTER_EDGE_LAPLACE */ }, + { "filters-edge-laplace", GIMP_STOCK_GEGL, NC_("filters-action", "_Laplace"), NULL, NULL, "gegl:edge-laplace", @@ -502,6 +507,7 @@ filters_actions_update (GimpActionGroup *group, SET_SENSITIVE ("filters-diffraction-patterns", writable); SET_SENSITIVE ("filters-distance-map", writable); SET_SENSITIVE ("filters-dropshadow", writable && alpha); + SET_SENSITIVE ("filters-edge", writable); SET_SENSITIVE ("filters-edge-laplace", writable); SET_SENSITIVE ("filters-edge-sobel", writable); SET_SENSITIVE ("filters-emboss", writable); diff --git a/app/sanity.c b/app/sanity.c index 8099b91fbd..a2b6d80feb 100644 --- a/app/sanity.c +++ b/app/sanity.c @@ -496,6 +496,7 @@ sanity_check_gegl_ops (void) "gegl:diffraction-patterns", "gegl:distance-transform", "gegl:dropshadow", + "gegl:edge", "gegl:edge-laplace", "gegl:edge-sobel", "gegl:emboss", diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c index e53636c258..6c39fa05af 100644 --- a/app/tools/gimpgegltool.c +++ b/app/tools/gimpgegltool.c @@ -137,6 +137,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name, "gegl:diffraction-patterns", "gegl:distance-transform", "gegl:dropshadow", + "gegl:edge", "gegl:edge-laplace", "gegl:edge-sobel", "gegl:emboss", diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in index a3380d319f..c9162b581b 100644 --- a/menus/image-menu.xml.in +++ b/menus/image-menu.xml.in @@ -696,6 +696,7 @@ +