[gimp] app: add gegl:shift to Filters -> Distorts
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: add gegl:shift to Filters -> Distorts
- Date: Sun, 26 May 2013 22:46:55 +0000 (UTC)
commit 07c87c7ce1a0df653db87c15e328c8764ee65c5c
Author: Michael Natterer <mitch gimp org>
Date: Mon May 27 00:45:51 2013 +0200
app: add gegl:shift to Filters -> Distorts
app/actions/filters-actions.c | 8 +++++++-
app/tools/gimpgegltool.c | 1 +
menus/image-menu.xml.in | 1 +
3 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c
index db2de71..92a1cdf 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -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);
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index 64dee41..4d06bcb 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -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 */
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index 3fb499f..0ccba2b 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -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">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]