[gimp] app: Add gegl:channel-mixer to Color/Components



commit 8bad383a3bc3ff4305f4a17e5dad4aab68497daf
Author: Téo Mazars <teo mazars ensimag fr>
Date:   Sat Aug 3 23:30:00 2013 +0200

    app: Add gegl:channel-mixer to Color/Components

 app/actions/filters-actions.c |    5 +++++
 app/tools/gimpgegltool.c      |    1 +
 menus/image-menu.xml.in       |    4 +++-
 3 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c
index 0585d2b..d998fec 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -60,6 +60,11 @@ static const GimpStringActionEntry filters_actions[] =
     "gegl:cartoon",
     NULL /* FIXME GIMP_HELP_FILTER_CARTOON */ },
 
+  { "filters-channel-mixer", GIMP_STOCK_GEGL,
+    NC_("filters-action", "_Channel Mixer..."), NULL, NULL,
+    "gegl:channel-mixer",
+    NULL /* FIXME GIMP_HELP_FILTER_CHANNEL_MIXER */ },
+
   { "filters-checkerboard", GIMP_STOCK_GEGL,
     NC_("filters-action", "_Checkerboard..."), NULL, NULL,
     "gegl:checkerboard",
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index b343402..95e1b6a 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -117,6 +117,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
     "gegl:antialias",
     "gegl:c2g",
     "gegl:cartoon",
+    "gegl:channel-mixer",
     "gegl:checkerboard",
     "gegl:color",
     "gegl:color-reduction",
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index d7d3678..8b21a28 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -531,7 +531,9 @@
         <menuitem action="drawable-equalize" />
         <menuitem action="drawable-levels-stretch" />
       </menu>
-      <menu action="colors-components-menu" name="Components" />
+      <menu action="colors-components-menu" name="Components">
+       <menuitem action="filters-channel-mixer" />
+      </menu>
       <menu action="colors-desaturate-menu" name="Desaturate">
        <menuitem action="filters-mono-mixer" />
        <menuitem action="filters-c2g" />


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