[gimp] app: add gegl:color-enhance to Color -> Auto



commit fdaed22911cd5f1a994d8bee154a06805370614a
Author: Alexandre Prokoudine <alexandre prokoudine gmail com>
Date:   Tue Jan 13 22:40:13 2015 +0300

    app: add gegl:color-enhance to Color -> Auto

 app/actions/filters-actions.c |    6 ++++++
 app/sanity.c                  |    1 +
 app/tools/gimpgegltool.c      |    1 +
 menus/image-menu.xml.in       |    1 +
 4 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c
index 02d8330..35f7e5f 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -84,6 +84,11 @@ static const GimpStringActionEntry filters_actions[] =
     "gegl:checkerboard",
     NULL /* FIXME GIMP_HELP_FILTER_CHECKERBOARD */ },
 
+  { "filters-color-enhance", GIMP_STOCK_GEGL,
+    NC_("filters-action", "_Color Enhance..."), NULL, NULL,
+    "gegl:color-enhance",
+    NULL /* FIXME GIMP_HELP_FILTER_COLOR_ENHANCE */ },
+
   { "filters-color-exchange", GIMP_STOCK_GEGL,
     NC_("filters-action", "_Color Exchange..."), NULL, NULL,
     "gegl:color-exchange",
@@ -474,6 +479,7 @@ filters_actions_update (GimpActionGroup *group,
   SET_SENSITIVE ("filters-c2g",                     writable && !gray);
   SET_SENSITIVE ("filters-cartoon",                 writable);
   SET_SENSITIVE ("filters-checkerboard",            writable);
+  SET_SENSITIVE ("filters-color-enhance",           writable);
   SET_SENSITIVE ("filters-color-exchange",          writable);
   SET_SENSITIVE ("filters-color-reduction",         writable);
   SET_SENSITIVE ("filters-color-rotate",            writable);
diff --git a/app/sanity.c b/app/sanity.c
index 67be179..5377674 100644
--- a/app/sanity.c
+++ b/app/sanity.c
@@ -481,6 +481,7 @@ sanity_check_gegl_ops (void)
     "gegl:cell-noise",
     "gegl:checkerboard",
     "gegl:color",
+    "gegl:color-enhance",
     "gegl:color-exchange",
     "gegl:color-reduction",
     "gegl:color-rotate",
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index 3e41753..314f0c5 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -124,6 +124,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
     "gegl:channel-mixer",
     "gegl:checkerboard",
     "gegl:color",
+    "gegl:color-enhance",
     "gegl:color-exchange",
     "gegl:color-reduction",
     "gegl:color-rotate",
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index 2d3c61f..db54fcd 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -535,6 +535,7 @@
         <menuitem action="drawable-levels-stretch" />
        <menuitem action="filters-stretch-contrast" />
        <menuitem action="filters-stretch-contrast-hsv" />
+       <menuitem action="filters-color-enhance" />
       </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]