Commit d682135d authored by Michael Natterer's avatar Michael Natterer 😴

app: add gegl:alien-map to Colors -> Map

parent 48c18ce7
......@@ -40,6 +40,11 @@
static const GimpStringActionEntry filters_actions[] =
{
{ "filters-alien-map", GIMP_STOCK_GEGL,
NC_("filters-action", "_Alien Map..."), NULL, NULL,
"gegl:alien-map",
NULL /* FIXME GIMP_HELP_FILTER_ALIEN_MAP */ },
{ "filters-c2g", GIMP_STOCK_GEGL,
NC_("filters-action", "Color to Gray..."), NULL, NULL,
"gegl:c2g",
......@@ -317,6 +322,7 @@ filters_actions_update (GimpActionGroup *group,
#define SET_SENSITIVE(action,condition) \
gimp_action_group_set_action_sensitive (group, action, (condition) != 0)
SET_SENSITIVE ("filters-alien-map", writable);
SET_SENSITIVE ("filters-c2g", writable && !gray);
SET_SENSITIVE ("filters-cartoon", writable);
SET_SENSITIVE ("filters-checkerboard", writable);
......
......@@ -113,6 +113,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
/* these ops are already added to the menus via
* filter-actions ordrawable-actions
*/
"gegl:alien-map",
"gegl:c2g",
"gegl:cartoon",
"gegl:checkerboard",
......
......@@ -540,6 +540,7 @@
<menu action="colors-map-menu" name="Map">
<placeholder name="Colormap" />
<separator />
<menuitem action="filters-alien-map" />
</menu>
<menu action="colors-info-menu" name="Info">
<menuitem action="dialogs-histogram" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment