Commit 00f6973b authored by Michael Natterer's avatar Michael Natterer 😴

app: add gegl:convolution-matrix to Filters -> Generic

parent 31e07a13
......@@ -100,6 +100,11 @@ static const GimpStringActionEntry filters_actions[] =
"gegl:color-to-alpha",
NULL /* FIXME GIMP_HELP_FILTER_COLOR_TO_ALPHA */ },
{ "filters-convolution-matrix", GIMP_STOCK_GEGL,
NC_("filters-action", "_Convolution Matrix..."), NULL, NULL,
"gegl:convolution-matrix",
NULL /* FIXME GIMP_HELP_FILTER_CONVOLUTION_MATRIX */ },
{ "filters-cubism", GIMP_STOCK_GEGL,
NC_("filters-action", "_Cubism..."), NULL, NULL,
"gegl:cubism",
......@@ -413,6 +418,7 @@ filters_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("filters-color-reduction", writable);
SET_SENSITIVE ("filters-color-temperature", writable && !gray);
SET_SENSITIVE ("filters-color-to-alpha", writable && !gray && alpha);
SET_SENSITIVE ("filters-convolution-matrix", writable);
SET_SENSITIVE ("filters-cubism", writable);
SET_SENSITIVE ("filters-deinterlace", writable);
SET_SENSITIVE ("filters-difference-of-gaussians", writable);
......
......@@ -483,6 +483,7 @@ sanity_check_gegl_ops (void)
"gegl:color-reduction",
"gegl:color-temperature",
"gegl:color-to-alpha",
"gegl:convolution-matrix",
"gegl:crop",
"gegl:cubism",
"gegl:deinterlace",
......
......@@ -127,6 +127,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
"gegl:color-reduction",
"gegl:color-temperature",
"gegl:color-to-alpha",
"gegl:convolution-matrix",
"gegl:cubism",
"gegl:deinterlace",
"gegl:difference-of-gaussians",
......
......@@ -682,7 +682,9 @@
<menuitem action="filters-edge-laplace" />
<menuitem action="filters-edge-sobel" />
</menu>
<menu action="plug-in-generic-menu" name="Generic" />
<menu action="plug-in-generic-menu" name="Generic">
<menuitem action="filters-convolution-matrix" />
</menu>
<menu action="plug-in-combine-menu" name="Combine" />
<menu action="plug-in-artistic-menu" name="Artistic">
<menuitem action="filters-apply-canvas" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment