app: add gegl:lens-flare to Filters -> Light and Shadow

This commit is contained in:
Alexandre Prokoudine
2014-12-31 13:12:53 +03:00
parent 677bdb8334
commit 27ec429b43
4 changed files with 9 additions and 0 deletions

View File

@ -194,6 +194,11 @@ static const GimpStringActionEntry filters_actions[] =
"gegl:lens-distortion",
NULL /* FIXME GIMP_HELP_FILTER_LENS_DISTORTION */ },
{ "filters-lens-flare", GIMP_STOCK_GEGL,
NC_("filters-action", "Lens Flare..."), NULL, NULL,
"gegl:lens-flare",
NULL /* FIXME GIMP_HELP_FILTER_LENS_FLARE */ },
{ "filters-mono-mixer", GIMP_STOCK_GEGL,
NC_("filters-action", "Mono Mixer..."), NULL, NULL,
"gegl:mono-mixer",
@ -491,6 +496,7 @@ filters_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("filters-illusion", writable);
SET_SENSITIVE ("filters-kaleidoscope", writable);
SET_SENSITIVE ("filters-lens-distortion", writable);
SET_SENSITIVE ("filters-lens-flare", writable);
SET_SENSITIVE ("filters-mono-mixer", writable && !gray);
SET_SENSITIVE ("filters-mosaic", writable);
SET_SENSITIVE ("filters-motion-blur-circular", writable);

View File

@ -507,6 +507,7 @@ sanity_check_gegl_ops (void)
"gegl:invert-gamma",
"gegl:invert-linear",
"gegl:lens-distortion",
"gegl:lens-flare",
"gegl:map-absolute",
"gegl:map-relative",
"gegl:matting-global",

View File

@ -147,6 +147,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
"gegl:invert-linear",
"gegl:invert-gamma",
"gegl:lens-distortion",
"gegl:lens-flare",
"gegl:mirrors",
"gegl:mono-mixer",
"gegl:mosaic",

View File

@ -667,6 +667,7 @@
<menu action="plug-in-light-shadow-menu" name="Light and Shadow">
<placeholder name="Light">
<menuitem action="filters-supernova" />
<menuitem action="filters-lens-flare" />
</placeholder>
<separator />
<placeholder name="Shadow">