[gimp] app: add gegl:color-exchange to Colors -> Map
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: add gegl:color-exchange to Colors -> Map
- Date: Mon, 10 Nov 2014 21:24:42 +0000 (UTC)
commit 488998031e90aeca8c044ba0f7073f9c3848f46c
Author: Michael Natterer <mitch gimp org>
Date: Mon Nov 10 22:23:54 2014 +0100
app: add gegl:color-exchange 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 1743576..8f4a268 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -84,6 +84,11 @@ static const GimpStringActionEntry filters_actions[] =
"gegl:checkerboard",
NULL /* FIXME GIMP_HELP_FILTER_CHECKERBOARD */ },
+ { "filters-color-exchange", GIMP_STOCK_GEGL,
+ NC_("filters-action", "_Color Exchange..."), NULL, NULL,
+ "gegl:color-exchange",
+ NULL /* FIXME GIMP_HELP_FILTER_COLOR_EXCHANGE */ },
+
{ "filters-color-reduction", GIMP_STOCK_GEGL,
NC_("filters-action", "Color _Reduction..."), NULL, NULL,
"gegl:color-reduction",
@@ -434,6 +439,7 @@ filters_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("filters-c2g", writable && !gray);
SET_SENSITIVE ("filters-cartoon", writable);
SET_SENSITIVE ("filters-checkerboard", writable);
+ SET_SENSITIVE ("filters-color-exchange", writable);
SET_SENSITIVE ("filters-color-reduction", writable);
SET_SENSITIVE ("filters-color-rotate", writable);
SET_SENSITIVE ("filters-color-temperature", writable && !gray);
diff --git a/app/sanity.c b/app/sanity.c
index 888971c..0288b26 100644
--- a/app/sanity.c
+++ b/app/sanity.c
@@ -481,6 +481,7 @@ sanity_check_gegl_ops (void)
"gegl:cell-noise",
"gegl:checkerboard",
"gegl:color",
+ "gegl:color-exchange",
"gegl:color-reduction",
"gegl:color-rotate",
"gegl:color-temperature",
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index 97b9044..3e7c4e5 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -124,6 +124,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
"gegl:channel-mixer",
"gegl:checkerboard",
"gegl:color",
+ "gegl:color-exchange",
"gegl:color-reduction",
"gegl:color-rotate",
"gegl:color-temperature",
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index 3eec596..3f092c0 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -548,6 +548,7 @@
<placeholder name="Colormap" />
<separator />
<menuitem action="filters-alien-map" />
+ <menuitem action="filters-color-exchange" />
<menuitem action="filters-color-rotate" />
</menu>
<menu action="colors-info-menu" name="Info">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]