Commit 7c9a740b authored by Michael Natterer's avatar Michael Natterer 😴

app, menus: add gegl:image-gradient and gegl:snn-mean to the menus

parent 55008641
......@@ -292,6 +292,11 @@ static const GimpStringActionEntry filters_actions[] =
"gegl:illusion",
GIMP_HELP_FILTER_ILLUSION },
{ "filters-image-gradient", GIMP_STOCK_GEGL,
NC_("filters-action", "_Image Gradient..."), NULL, NULL,
"gegl:image-gradient",
GIMP_HELP_FILTER_IMAGE_GRADIENT },
{ "filters-kaleidoscope", GIMP_STOCK_GEGL,
NC_("filters-action", "_Kaleidoscope..."), NULL, NULL,
"gegl:mirrors",
......@@ -477,6 +482,11 @@ static const GimpStringActionEntry filters_actions[] =
"gegl:slic",
GIMP_HELP_FILTER_SLIC },
{ "filters-snn-mean", GIMP_STOCK_GEGL,
NC_("filters-action", "_Symmetric Nearest Neighbor..."), NULL, NULL,
"gegl:snn-mean",
GIMP_HELP_FILTER_SNN_MEAN },
{ "filters-softglow", GIMP_STOCK_GEGL,
NC_("filters-action", "_Softglow..."), NULL, NULL,
"gegl:softglow",
......@@ -718,6 +728,7 @@ filters_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("filters-grid", writable);
SET_SENSITIVE ("filters-high-pass", writable);
SET_SENSITIVE ("filters-illusion", writable);
SET_SENSITIVE ("filters-image-gradient", writable);
SET_SENSITIVE ("filters-kaleidoscope", writable);
SET_SENSITIVE ("filters-lens-distortion", writable);
SET_SENSITIVE ("filters-lens-flare", writable);
......@@ -755,6 +766,7 @@ filters_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("filters-shift", writable);
SET_SENSITIVE ("filters-sinus", writable);
SET_SENSITIVE ("filters-slic", writable);
SET_SENSITIVE ("filters-snn-mean", writable);
SET_SENSITIVE ("filters-softglow", writable);
SET_SENSITIVE ("filters-stretch-contrast", writable);
SET_SENSITIVE ("filters-stretch-contrast-hsv", writable);
......
......@@ -565,6 +565,7 @@ sanity_check_gegl_ops (void)
"gegl:grid",
"gegl:high-pass",
"gegl:illusion",
"gegl:image-gradient",
"gegl:introspect",
"gegl:invert-gamma",
"gegl:invert-linear",
......@@ -609,6 +610,7 @@ sanity_check_gegl_ops (void)
"gegl:shift",
"gegl:sinus",
"gegl:slic",
"gegl:snn-mean",
"gegl:softglow",
"gegl:stretch-contrast",
"gegl:stretch-contrast-hsv",
......
......@@ -151,6 +151,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
"gegl:grid",
"gegl:high-pass",
"gegl:illusion",
"gegl:image-gradient",
"gegl:invert-linear",
"gegl:invert-gamma",
"gegl:lens-distortion",
......@@ -187,6 +188,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
"gegl:simplex-noise",
"gegl:sinus",
"gegl:slic",
"gegl:snn-mean",
"gegl:softglow",
"gegl:stretch-contrast",
"gegl:stretch-contrast-hsv",
......@@ -209,6 +211,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
/* these ops are blacklisted for other reasons */
"gegl:contrast-curve",
"gegl:convert-format", /* pointless */
"gegl:ditto", /* pointless */
"gegl:fill-path",
"gegl:gray", /* we use gimp's op */
"gegl:hstack", /* pointless */
......@@ -229,7 +232,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
"gegl:text", /* we use gimp's text rendering */
"gegl:threshold", /* we use gimp's op */
"gegl:tile", /* pointless */
"gegl:unpremus", /* pointless */
"gegl:unpremul", /* pointless */
"gegl:vector-stroke",
};
......
......@@ -371,6 +371,7 @@
#define GIMP_HELP_FILTER_GAUSSIAN_GRID "gimp-filter-grid"
#define GIMP_HELP_FILTER_HIGH_PASS "gimp-filter-high-pass"
#define GIMP_HELP_FILTER_ILLUSION "gimp-filter-illusion"
#define GIMP_HELP_FILTER_IMAGE_GRADIENT "gimp-filter-image-gradient"
#define GIMP_HELP_FILTER_KALEIDOSCOPE "gimp-filter-kaleidoscope"
#define GIMP_HELP_FILTER_LENS_DISTORTION "gimp-filter-lens-distortion"
#define GIMP_HELP_FILTER_LENS_FLARE "gimp-filter-lens-flare"
......@@ -408,6 +409,7 @@
#define GIMP_HELP_FILTER_SHIFT "gimp-filter-shift"
#define GIMP_HELP_FILTER_SINUS "gimp-filter-sinus"
#define GIMP_HELP_FILTER_SLIC "gimp-filter-slic"
#define GIMP_HELP_FILTER_SNN_MEAN "gimp-filter-snn-mean"
#define GIMP_HELP_FILTER_SOFTGLOW "gimp-filter-softglow"
#define GIMP_HELP_FILTER_STRETCH_CONTRAST "gimp-filter-stretch-contrast"
#define GIMP_HELP_FILTER_STRETCH_CONTRAST_HSV "gimp-filter-stretch-contrast-hsv"
......
......@@ -580,6 +580,7 @@
</menu>
<menu action="colors-components-menu" name="Components">
<menuitem action="filters-channel-mixer" />
<menuitem action="filters-component-extract" />
<menuitem action="filters-mono-mixer" />
</menu>
<menu action="colors-desaturate-menu" name="Desaturate">
......@@ -605,6 +606,7 @@
<menuitem action="filters-posterize" />
<menuitem action="filters-color-to-alpha" />
<menuitem action="filters-dither" />
<menuitem action="filters-rgb-clip" />
<placeholder name="Modify" />
</menu>
......@@ -698,6 +700,7 @@
<menuitem action="filters-high-pass" />
<menuitem action="filters-noise-reduction" />
<menuitem action="filters-red-eye-removal" />
<menuitem action="filters-snn-mean" />
<menuitem action="filters-unsharp-mask" />
</menu>
<menu action="filters-distorts-menu" name="Distorts">
......@@ -744,6 +747,7 @@
<menuitem action="filters-edge-laplace" />
<menuitem action="filters-edge-neon" />
<menuitem action="filters-edge-sobel" />
<menuitem action="filters-image-gradient" />
</menu>
<menu action="filters-generic-menu" name="Generic">
<menuitem action="filters-convolution-matrix" />
......@@ -760,7 +764,9 @@
<menuitem action="filters-tile-glass" />
<menuitem action="filters-oilify" />
<menuitem action="filters-photocopy" />
<menuitem action="filters-slic" />
<menuitem action="filters-softglow" />
<menuitem action="filters-waterpixels" />
</menu>
<menu action="filters-decor-menu" name="Decor" />
<menu action="filters-map-menu" name="Map">
......
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