app: add gegl:color-exchange to Colors -> Map

This commit is contained in:
Michael Natterer 2014-11-10 22:23:54 +01:00
parent efd8fee58c
commit 488998031e
4 changed files with 9 additions and 0 deletions

View File

@ -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);

View File

@ -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",

View File

@ -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",

View File

@ -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">