[gimp] app: add gegl:stretch-contrast-hsv to Colors/Auto/



commit 5152e1061c3cd1d10e3e717aaaec1576de2eb148
Author: Téo Mazars <teomazars gmail com>
Date:   Sat Nov 16 16:30:04 2013 +0100

    app: add gegl:stretch-contrast-hsv to Colors/Auto/
    
    before removing the old plugin

 app/actions/filters-actions.c |    6 ++++++
 app/tools/gimpgegltool.c      |    1 +
 menus/image-menu.xml.in       |    1 +
 3 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c
index 807eee0..9900fe3 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -260,6 +260,11 @@ static const GimpStringActionEntry filters_actions[] =
     "gegl:stretch-contrast",
     NULL /* FIXME GIMP_HELP_FILTER_STRETCH_CONTRAST */ },
 
+  { "filters-stretch-contrast-hsv", GIMP_STOCK_GEGL,
+    NC_("filters-action", "_Stretch Contrast HSV..."), NULL, NULL,
+    "gegl:stretch-contrast-hsv",
+    NULL /* FIXME GIMP_HELP_FILTER_STRETCH_CONTRAST_HSV */ },
+
   { "filters-threshold-alpha", GIMP_STOCK_GEGL,
     NC_("filters-action", "_Threshold Alpha..."), NULL, NULL,
     "gimp:threshold-alpha",
@@ -395,6 +400,7 @@ filters_actions_update (GimpActionGroup *group,
   SET_SENSITIVE ("filters-shift",                   writable);
   SET_SENSITIVE ("filters-softglow",                writable);
   SET_SENSITIVE ("filters-stretch-contrast",        writable);
+  SET_SENSITIVE ("filters-stretch-contrast-hsv",    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 bb331db..02a0575 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -159,6 +159,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
     "gegl:shift",
     "gegl:softglow",
     "gegl:stretch-contrast",
+    "gegl:stretch-contrast-hsv",
     "gegl:tile-seamless",
     "gegl:unsharp-mask",
     "gegl:value-invert",
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index 0130f2a..33e2a48 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -531,6 +531,7 @@
         <menuitem action="drawable-equalize" />
         <menuitem action="drawable-levels-stretch" />
        <menuitem action="filters-stretch-contrast" />
+       <menuitem action="filters-stretch-contrast-hsv" />
       </menu>
       <menu action="colors-components-menu" name="Components">
        <menuitem action="filters-channel-mixer" />


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]