app: add gegl:shift to Filters -> Distorts

This commit is contained in:
Michael Natterer 2013-05-27 00:45:51 +02:00
parent 9c69130f72
commit 07c87c7ce1
3 changed files with 9 additions and 1 deletions

View File

@ -185,6 +185,11 @@ static const GimpStringActionEntry filters_actions[] =
"gimp:semi-flatten",
NULL /* FIXME GIMP_HELP_FILTER_POLAR_COORDINATES */ },
{ "filters-shift", GIMP_STOCK_GEGL,
NC_("filters-action", "_Shift..."), NULL, NULL,
"gegl:shift",
NULL /* FIXME GIMP_HELP_FILTER_SHIFT */ },
{ "filters-sobel", GIMP_STOCK_GEGL,
NC_("filters-action", "_Sobel..."), NULL, NULL,
"gegl:edge-sobel",
@ -305,9 +310,10 @@ filters_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("filters-polar-coordinates", writable);
SET_SENSITIVE ("filters-red-eye-removal", writable && !gray);
SET_SENSITIVE ("filters-ripple", writable);
SET_SENSITIVE ("filters-semi-flatten", writable && alpha);
SET_SENSITIVE ("filters-shift", writable);
SET_SENSITIVE ("filters-sobel", writable);
SET_SENSITIVE ("filters-softglow", writable);
SET_SENSITIVE ("filters-semi-flatten", writable && alpha);
SET_SENSITIVE ("filters-threshold-alpha", writable && alpha);
SET_SENSITIVE ("filters-unsharp-mask", writable);
SET_SENSITIVE ("filters-vignette", writable);

View File

@ -160,6 +160,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
"gegl:sdl-display", /* useless */
"gegl:seamless-clone",
"gegl:shear", /* in gimp */
"gegl:shift", /* in gimp */
"gegl:softglow", /* in gimp */
"gegl:text",
"gegl:threshold", /* in gimp */

View File

@ -635,6 +635,7 @@
<menuitem action="filters-lens-distortion" />
<menuitem action="filters-polar-coordinates" />
<menuitem action="filters-ripple" />
<menuitem action="filters-shift" />
<menuitem action="filters-whirl-pinch" />
</menu>
<menu action="plug-in-light-shadow-menu" name="Light and Shadow">