[gimp] app: add gegl:color-rotate to Colors -> Map



commit 227cff3af44c9d26f38f845c2027af628b45d346
Author: Michael Natterer <mitch gimp org>
Date:   Thu May 29 18:34:45 2014 +0200

    app: add gegl:color-rotate to Colors -> Map

 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 37b2afa..7e93226 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -90,6 +90,11 @@ static const GimpStringActionEntry filters_actions[] =
     "gegl:color-reduction",
     NULL /* FIXME GIMP_HELP_FILTER_COLOR_TEMPERATURE */ },
 
+  { "filters-color-rotate", GIMP_STOCK_GEGL,
+    NC_("filters-action", "_Rotate Colors..."), NULL, NULL,
+    "gegl:color-rotate",
+    NULL /* FIXME GIMP_HELP_FILTER_COLOR_ROTATE */ },
+
   { "filters-color-temperature", GIMP_STOCK_GEGL,
     NC_("filters-action", "Color T_emperature..."), NULL, NULL,
     "gegl:color-temperature",
@@ -416,6 +421,7 @@ filters_actions_update (GimpActionGroup *group,
   SET_SENSITIVE ("filters-cartoon",                 writable);
   SET_SENSITIVE ("filters-checkerboard",            writable);
   SET_SENSITIVE ("filters-color-reduction",         writable);
+  SET_SENSITIVE ("filters-color-rotate",            writable);
   SET_SENSITIVE ("filters-color-temperature",       writable && !gray);
   SET_SENSITIVE ("filters-color-to-alpha",          writable && !gray && alpha);
   SET_SENSITIVE ("filters-convolution-matrix",      writable);
diff --git a/app/sanity.c b/app/sanity.c
index c1ad749..91cdea9 100644
--- a/app/sanity.c
+++ b/app/sanity.c
@@ -481,6 +481,7 @@ sanity_check_gegl_ops (void)
     "gegl:checkerboard",
     "gegl:color",
     "gegl:color-reduction",
+    "gegl:color-rotate",
     "gegl:color-temperature",
     "gegl:color-to-alpha",
     "gegl:convolution-matrix",
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index d062fb9..a293de6 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -125,6 +125,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
     "gegl:checkerboard",
     "gegl:color",
     "gegl:color-reduction",
+    "gegl:color-rotation",
     "gegl:color-temperature",
     "gegl:color-to-alpha",
     "gegl:convolution-matrix",
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index b4d995e..a03f0d1 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -547,6 +547,7 @@
         <placeholder name="Colormap" />
         <separator />
        <menuitem action="filters-alien-map" />
+       <menuitem action="filters-color-rotate" />
       </menu>
       <menu action="colors-info-menu" name="Info">
         <menuitem action="dialogs-histogram" />


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