Commit 50daf44e authored by Alexandre Prokoudine's avatar Alexandre Prokoudine

app: add gegl:saturation as Colors -> Saturation

parent 6e8cd278
......@@ -422,6 +422,11 @@ static const GimpStringActionEntry filters_actions[] =
"gegl:ripple",
NULL /* FIXME GIMP_HELP_FILTER_RIPPLE */ },
{ "filters-saturation", GIMP_STOCK_GEGL,
NC_("filters-action", "Sat_uration..."), NULL, NULL,
"gegl:saturation",
NULL /* FIXME GIMP_HELP_FILTER_SEPIA */ },
{ "filters-semi-flatten", GIMP_STOCK_GEGL,
NC_("filters-action", "_Semi-Flatten..."), NULL, NULL,
"gimp:semi-flatten",
......@@ -703,6 +708,7 @@ filters_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("filters-posterize", writable);
SET_SENSITIVE ("filters-red-eye-removal", writable && !gray);
SET_SENSITIVE ("filters-ripple", writable);
SET_SENSITIVE ("filters-saturation", writable && !gray);
SET_SENSITIVE ("filters-semi-flatten", writable && alpha);
SET_SENSITIVE ("filters-sepia", writable && !gray);
SET_SENSITIVE ("filters-shift", writable);
......
......@@ -542,6 +542,7 @@ sanity_check_gegl_ops (void)
"gegl:polar-coordinates",
"gegl:red-eye-removal",
"gegl:ripple",
"gegl:saturation",
"gegl:scale-ratio",
"gegl:seamless-clone",
"gegl:sepia",
......
......@@ -183,6 +183,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
"gegl:polar-coordinates",
"gegl:red-eye-removal",
"gegl:ripple",
"gegl:saturation",
"gegl:sepia",
"gegl:shift",
"gegl:simplex-noise",
......
......@@ -527,6 +527,7 @@
<menu action="colors-menu" name="Colors">
<menuitem action="tools-color-balance" />
<menuitem action="tools-hue-saturation" />
<menuitem action="filters-saturation" />
<menuitem action="tools-colorize" />
<menuitem action="tools-brightness-contrast" />
<menuitem action="tools-threshold" />
......
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