From 5efcc0eb09e863dad6cd2f4eef5116bd0ca3d880 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=A9o=20Mazars?= Date: Fri, 15 Nov 2013 18:58:52 +0100 Subject: [PATCH] app: add gegl:stretch-contrast to Colors/Auto/ before removing the plug-in --- app/actions/filters-actions.c | 6 ++++++ app/tools/gimpgegltool.c | 1 + menus/image-menu.xml.in | 1 + 3 files changed, 8 insertions(+) diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c index 164c56b6fe..807eee0e49 100644 --- a/app/actions/filters-actions.c +++ b/app/actions/filters-actions.c @@ -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); diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c index b6e2b3e796..bb331db59f 100644 --- a/app/tools/gimpgegltool.c +++ b/app/tools/gimpgegltool.c @@ -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", diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in index dac59758e5..0130f2a5b2 100644 --- a/menus/image-menu.xml.in +++ b/menus/image-menu.xml.in @@ -530,6 +530,7 @@ +