app: add gegl:alien-map to Colors -> Map
This commit is contained in:
@ -40,6 +40,11 @@
|
|||||||
|
|
||||||
static const GimpStringActionEntry filters_actions[] =
|
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,
|
{ "filters-c2g", GIMP_STOCK_GEGL,
|
||||||
NC_("filters-action", "Color to Gray..."), NULL, NULL,
|
NC_("filters-action", "Color to Gray..."), NULL, NULL,
|
||||||
"gegl:c2g",
|
"gegl:c2g",
|
||||||
@ -317,6 +322,7 @@ filters_actions_update (GimpActionGroup *group,
|
|||||||
#define SET_SENSITIVE(action,condition) \
|
#define SET_SENSITIVE(action,condition) \
|
||||||
gimp_action_group_set_action_sensitive (group, action, (condition) != 0)
|
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-c2g", writable && !gray);
|
||||||
SET_SENSITIVE ("filters-cartoon", writable);
|
SET_SENSITIVE ("filters-cartoon", writable);
|
||||||
SET_SENSITIVE ("filters-checkerboard", 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
|
/* these ops are already added to the menus via
|
||||||
* filter-actions ordrawable-actions
|
* filter-actions ordrawable-actions
|
||||||
*/
|
*/
|
||||||
|
"gegl:alien-map",
|
||||||
"gegl:c2g",
|
"gegl:c2g",
|
||||||
"gegl:cartoon",
|
"gegl:cartoon",
|
||||||
"gegl:checkerboard",
|
"gegl:checkerboard",
|
||||||
|
@ -540,6 +540,7 @@
|
|||||||
<menu action="colors-map-menu" name="Map">
|
<menu action="colors-map-menu" name="Map">
|
||||||
<placeholder name="Colormap" />
|
<placeholder name="Colormap" />
|
||||||
<separator />
|
<separator />
|
||||||
|
<menuitem action="filters-alien-map" />
|
||||||
</menu>
|
</menu>
|
||||||
<menu action="colors-info-menu" name="Info">
|
<menu action="colors-info-menu" name="Info">
|
||||||
<menuitem action="dialogs-histogram" />
|
<menuitem action="dialogs-histogram" />
|
||||||
|
Reference in New Issue
Block a user