[gimp] app: add gegl:sepia to Colors -> Desaturate
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: add gegl:sepia to Colors -> Desaturate
- Date: Sun, 22 Nov 2015 20:33:05 +0000 (UTC)
commit 96de700b43dd338e03303d404c0a44f7ed99f857
Author: Michael Natterer <mitch gimp org>
Date: Sun Nov 22 21:32:36 2015 +0100
app: add gegl:sepia to Colors -> Desaturate
app/actions/filters-actions.c | 10 ++++++++--
app/sanity.c | 1 +
app/tools/gimpgegltool.c | 3 ++-
menus/image-menu.xml.in | 1 +
4 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c
index 0f37b50..5b72036 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -65,7 +65,7 @@ static const GimpStringActionEntry filters_actions[] =
NULL /* FIXME GIMP_HELP_FILTER_BUMP_MAP */ },
{ "filters-c2g", GIMP_STOCK_GEGL,
- NC_("filters-action", "Color to Gray..."), NULL, NULL,
+ NC_("filters-action", "_Color to Gray..."), NULL, NULL,
"gegl:c2g",
NULL /* FIXME GIMP_HELP_FILTER_C2G */ },
@@ -225,7 +225,7 @@ static const GimpStringActionEntry filters_actions[] =
NULL /* FIXME GIMP_HELP_FILTER_MAZE */ },
{ "filters-mono-mixer", GIMP_STOCK_GEGL,
- NC_("filters-action", "Mono Mixer..."), NULL, NULL,
+ NC_("filters-action", "_Mono Mixer..."), NULL, NULL,
"gegl:mono-mixer",
NULL /* FIXME GIMP_HELP_FILTER_MONO_MIXER */ },
@@ -354,6 +354,11 @@ static const GimpStringActionEntry filters_actions[] =
"gimp:semi-flatten",
NULL /* FIXME GIMP_HELP_FILTER_POLAR_COORDINATES */ },
+ { "filters-sepia", GIMP_STOCK_GEGL,
+ NC_("filters-action", "_Sepia..."), NULL, NULL,
+ "gegl:sepia",
+ NULL /* FIXME GIMP_HELP_FILTER_SEPIA */ },
+
{ "filters-shift", GIMP_STOCK_GEGL,
NC_("filters-action", "_Shift..."), NULL, NULL,
"gegl:shift",
@@ -563,6 +568,7 @@ filters_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("filters-red-eye-removal", writable && !gray);
SET_SENSITIVE ("filters-ripple", writable);
SET_SENSITIVE ("filters-semi-flatten", writable && alpha);
+ SET_SENSITIVE ("filters-sepia", writable && !gray);
SET_SENSITIVE ("filters-shift", writable);
SET_SENSITIVE ("filters-sinus", writable);
SET_SENSITIVE ("filters-softglow", writable);
diff --git a/app/sanity.c b/app/sanity.c
index 7767fbf..5b8ac86 100644
--- a/app/sanity.c
+++ b/app/sanity.c
@@ -543,6 +543,7 @@ sanity_check_gegl_ops (void)
"gegl:ripple",
"gegl:scale-ratio",
"gegl:seamless-clone",
+ "gegl:sepia",
"gegl:shift",
"gegl:simplex-noise",
"gegl:shift",
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index 606b257..4b8884e 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -177,8 +177,9 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
"gegl:polar-coordinates",
"gegl:red-eye-removal",
"gegl:ripple",
- "gegl:simplex-noise",
+ "gegl:sepia",
"gegl:shift",
+ "gegl:simplex-noise",
"gegl:sinus",
"gegl:softglow",
"gegl:stretch-contrast",
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index bbfe485..f97fc40 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -556,6 +556,7 @@
<menu action="colors-desaturate-menu" name="Desaturate">
<menuitem action="filters-mono-mixer" />
<menuitem action="filters-c2g" />
+ <menuitem action="filters-sepia" />
<separator />
</menu>
<menu action="colors-map-menu" name="Map">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]