app: add gegl:diffraction-patterns Filters -> Render -> Pattern

This commit is contained in:
Alexandre Prokoudine 2015-01-21 00:45:33 +03:00
parent 51e4491fbf
commit 931f4581b7
4 changed files with 9 additions and 0 deletions

View File

@ -134,6 +134,11 @@ static const GimpStringActionEntry filters_actions[] =
"gegl:difference-of-gaussians",
NULL /* FIXME GIMP_HELP_FILTER_DIFFERENCE_OF_GAUSSIANS */ },
{ "filters-diffraction-patterns", GIMP_STOCK_GEGL,
NC_("filters-action", "Diffraction Patterns..."), NULL, NULL,
"gegl:diffraction-patterns",
NULL /* FIXME GIMP_HELP_FILTER_DIFFRACTION_PATTERNS */ },
{ "filters-distance-map", GIMP_STOCK_GEGL,
NC_("filters-action", "Distance Map..."), NULL, NULL,
"gegl:distance-transform",
@ -489,6 +494,7 @@ filters_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("filters-cubism", writable);
SET_SENSITIVE ("filters-deinterlace", writable);
SET_SENSITIVE ("filters-difference-of-gaussians", writable);
SET_SENSITIVE ("filters-diffraction-patterns", writable);
SET_SENSITIVE ("filters-distance-map", writable);
SET_SENSITIVE ("filters-dropshadow", writable && alpha);
SET_SENSITIVE ("filters-edge-laplace", writable);

View File

@ -493,6 +493,7 @@ sanity_check_gegl_ops (void)
"gegl:cubism",
"gegl:deinterlace",
"gegl:difference-of-gaussians",
"gegl:diffraction-patterns",
"gegl:distance-transform",
"gegl:dropshadow",
"gegl:edge-laplace",

View File

@ -134,6 +134,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
"gegl:cubism",
"gegl:deinterlace",
"gegl:difference-of-gaussians",
"gegl:diffraction-patterns",
"gegl:distance-transform",
"gegl:dropshadow",
"gegl:edge-laplace",

View File

@ -727,6 +727,7 @@
</menu>
<menu action="plug-in-render-pattern-menu" name="Pattern">
<menuitem action="filters-checkerboard" />
<menuitem action="filters-diffraction-patternsd" />
<menuitem action="filters-grid" />
<menuitem action="filters-sinus" />
</menu>