app: add gegl:edge to Filters -> Edge-Detect

This commit is contained in:
Michael Natterer 2015-03-03 22:55:39 +01:00
parent b27c5b0985
commit e44e738267
4 changed files with 9 additions and 0 deletions

View File

@ -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);

View File

@ -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",

View File

@ -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",

View File

@ -696,6 +696,7 @@
</menu>
<menu action="plug-in-edge-detect-menu" name="Edge-Detect">
<menuitem action="filters-difference-of-gaussians" />
<menuitem action="filters-edge" />
<menuitem action="filters-edge-laplace" />
<menuitem action="filters-edge-sobel" />
</menu>