[gimp/soc-2011-seamless-clone2] app: add some more gegl ops to the menus (wip)
- From: Clayton Walker <claytonw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/soc-2011-seamless-clone2] app: add some more gegl ops to the menus (wip)
- Date: Wed, 8 May 2013 15:03:45 +0000 (UTC)
commit 27898f3f74f9bb108e4ac724233cee3352d410bd
Author: Michael Natterer <mitch gimp org>
Date: Sat Mar 9 18:10:14 2013 +0100
app: add some more gegl ops to the menus (wip)
app/actions/filters-actions.c | 18 ++++++++++++++++++
app/tools/gimpgegltool.c | 3 +++
menus/image-menu.xml.in | 3 +++
3 files changed, 24 insertions(+), 0 deletions(-)
---
diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c
index 9f4904f..ee7b2a7 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -39,6 +39,12 @@
static const GimpStringActionEntry filters_actions[] =
{
+ { "filters-c2g", GIMP_STOCK_GEGL,
+ NC_("filters-action", "Color to Gray..."), NULL,
+ NC_("filters-action", "Color to grayscale conversion"),
+ "gegl:c2g",
+ NULL /* FIXME GIMP_HELP_FILTER_C2G */ },
+
{ "filters-cartoon", GIMP_STOCK_GEGL,
NC_("filters-action", "Ca_rtoon..."), NULL,
NC_("filters-action", "Simulate a cartoon by enhancing edges"),
@@ -63,6 +69,12 @@ static const GimpStringActionEntry filters_actions[] =
"gegl:color-to-alpha",
NULL /* FIXME GIMP_HELP_FILTER_COLOR_TO_ALPHA */ },
+ { "filters-dot", GIMP_STOCK_GEGL,
+ NC_("filters-action", "Dots..."), NULL,
+ NC_("filters-action", "Simplify image into an array of solid-colored dots"),
+ "gegl:dot",
+ NULL /* FIXME GIMP_HELP_FILTER_DOT */ },
+
{ "filters-difference-of-gaussians", GIMP_STOCK_GEGL,
NC_("filters-action", "Difference of Gaussians..."), NULL,
NC_("filters-action", "Edge detection with control of edge thickness"),
@@ -87,6 +99,12 @@ static const GimpStringActionEntry filters_actions[] =
"gegl:lens-distortion",
NULL /* FIXME GIMP_HELP_FILTER_LENS_DISTORTION */ },
+ { "filters-mono-mixer", GIMP_STOCK_GEGL,
+ NC_("filters-action", "Mono Mixer..."), NULL,
+ NC_("filters-action", "Monochrome channel mixer"),
+ "gegl:mono-mixer",
+ NULL /* FIXME GIMP_HELP_FILTER_MONO_MIXER */ },
+
{ "filters-noise-hsv", GIMP_STOCK_GEGL,
NC_("filters-action", "HSV Noise..."), NULL,
NC_("filters-action", "Scattering pixel values in HSV space"),
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index 7b442c5..f5339a7 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -110,6 +110,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
};
static const gchar * const name_blacklist[] =
{
+ "gegl:c2g", /* in gimp */
"gegl:cartoon", /* in gimp */
"gegl:color", /* pointless */
"gegl:color-reduction", /* in gimp */
@@ -120,6 +121,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
"gegl:convert-format",
"gegl:difference-of-gaussians", /* in gimp */
"gegl:display",
+ "gegl:dot", /* in gimp */
"gegl:edge-laplace", /* in gimp */
"gegl:edge-sobel", /* in gimp */
"gegl:fill-path",
@@ -131,6 +133,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
"gegl:layer",
"gegl:lens-correct",
"gegl:lens-distortion", /* in gimp */
+ "gegl:mono-mixer", /* in gimp */
"gegl:noise-hurl", /* in gimp */
"gegl:noise-pick", /* in gimp */
"gegl:noise-hsv", /* in gimp */
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index e3f4d26..f67a01d 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -507,6 +507,8 @@
<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" />
@@ -606,6 +608,7 @@
<separator />
<menu action="plug-in-blur-menu" name="Blur">
<menuitem action="filters-gaussian-blur" />
+ <menuitem action="filters-dot" />
<menuitem action="filters-pixelize" />
</menu>
<menu action="plug-in-enhance-menu" name="Enhance">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]