[gimp] app, menus: add a "Desaturate" submenu for the newly added GEGL filters



commit 1454234d98e5f1071e385313aefffcd7acca685b
Author: Michael Natterer <mitch gimp org>
Date:   Sat Mar 9 20:49:57 2013 +0100

    app, menus: add a "Desaturate" submenu for the newly added GEGL filters

 app/actions/image-actions.c |    1 +
 menus/image-menu.xml.in     |    7 +++++--
 2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/app/actions/image-actions.c b/app/actions/image-actions.c
index 28b7e7b..23688fa 100644
--- a/app/actions/image-actions.c
+++ b/app/actions/image-actions.c
@@ -63,6 +63,7 @@ static const GimpActionEntry image_actions[] =
   { "colors-auto-menu",       NULL, NC_("image-action", "_Auto")       },
   { "colors-map-menu",        NULL, NC_("image-action", "_Map")        },
   { "colors-components-menu", NULL, NC_("image-action", "C_omponents") },
+  { "colors-desaturate-menu", NULL, NC_("image-action", "D_esaturate") },
 
   { "image-new", GTK_STOCK_NEW,
     NC_("image-action", "_New..."), "<primary>N",
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index f67a01d..8bd23b3 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -507,8 +507,6 @@
       <menuitem action="tools-curves" />
       <menuitem action="tools-posterize" />
       <menuitem action="tools-desaturate" />
-      <menuitem action="filters-mono-mixer" />
-      <menuitem action="filters-c2g" />
       <separator />
       <placeholder name="Invert">
         <menuitem action="drawable-invert" />
@@ -520,6 +518,11 @@
         <menuitem action="drawable-levels-stretch" />
       </menu>
       <menu action="colors-components-menu" name="Components" />
+      <menu action="colors-desaturate-menu" name="Desaturate">
+       <menuitem action="filters-mono-mixer" />
+       <menuitem action="filters-c2g" />
+        <separator />
+      </menu>
       <menu action="colors-map-menu" name="Map">
         <placeholder name="Colormap" />
         <separator />


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