app: add gegl:stretch-contrast to Colors/Auto/

before removing the plug-in
This commit is contained in:
Téo Mazars 2013-11-15 18:58:52 +01:00
parent 8dc7ff4504
commit 5efcc0eb09
3 changed files with 8 additions and 0 deletions

View file

@ -255,6 +255,11 @@ static const GimpStringActionEntry filters_actions[] =
"gegl:softglow",
NULL /* FIXME GIMP_HELP_FILTER_SOFTGLOW */ },
{ "filters-stretch-contrast", GIMP_STOCK_GEGL,
NC_("filters-action", "_Stretch Contrast..."), NULL, NULL,
"gegl:stretch-contrast",
NULL /* FIXME GIMP_HELP_FILTER_STRETCH_CONTRAST */ },
{ "filters-threshold-alpha", GIMP_STOCK_GEGL,
NC_("filters-action", "_Threshold Alpha..."), NULL, NULL,
"gimp:threshold-alpha",
@ -389,6 +394,7 @@ filters_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("filters-semi-flatten", writable && alpha);
SET_SENSITIVE ("filters-shift", writable);
SET_SENSITIVE ("filters-softglow", writable);
SET_SENSITIVE ("filters-stretch-contrast", writable);
SET_SENSITIVE ("filters-threshold-alpha", writable && alpha);
SET_SENSITIVE ("filters-tile-seamless", writable);
SET_SENSITIVE ("filters-unsharp-mask", writable);

View file

@ -158,6 +158,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
"gegl:ripple",
"gegl:shift",
"gegl:softglow",
"gegl:stretch-contrast",
"gegl:tile-seamless",
"gegl:unsharp-mask",
"gegl:value-invert",

View file

@ -530,6 +530,7 @@
<menu action="colors-auto-menu" name="Auto">
<menuitem action="drawable-equalize" />
<menuitem action="drawable-levels-stretch" />
<menuitem action="filters-stretch-contrast" />
</menu>
<menu action="colors-components-menu" name="Components">
<menuitem action="filters-channel-mixer" />