[gimp] app: add gegl:motion-blur to Filters -> Blur
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: add gegl:motion-blur to Filters -> Blur
- Date: Thu, 30 May 2013 18:05:18 +0000 (UTC)
commit b593e3eb0233a0b1d47defb5d9c7b57978d4e7c8
Author: Michael Natterer <mitch gimp org>
Date: Thu May 30 20:04:10 2013 +0200
app: add gegl:motion-blur to Filters -> Blur
app/actions/filters-actions.c | 6 ++++++
app/tools/gimpgegltool.c | 1 +
menus/image-menu.xml.in | 1 +
3 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c
index 5ad6925..a788b01 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -125,6 +125,11 @@ static const GimpStringActionEntry filters_actions[] =
"gegl:mono-mixer",
NULL /* FIXME GIMP_HELP_FILTER_MONO_MIXER */ },
+ { "filters-motion-blur", GIMP_STOCK_GEGL,
+ NC_("filters-action", "_Motion Blur..."), NULL, NULL,
+ "gegl:motion-blur",
+ NULL /* FIXME GIMP_HELP_FILTER_MOTION_BLUR */ },
+
{ "filters-noise-cie-lch", GIMP_STOCK_GEGL,
NC_("filters-action", "CIE lch Noise..."), NULL, NULL,
"gegl:noise-CIE_lch",
@@ -303,6 +308,7 @@ filters_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("filters-gaussian-blur", writable);
SET_SENSITIVE ("filters-laplace", writable);
SET_SENSITIVE ("filters-mono-mixer", writable && !gray);
+ SET_SENSITIVE ("filters-motion-blur", writable);
SET_SENSITIVE ("filters-noise-cie-lch", writable);
SET_SENSITIVE ("filters-noise-hsv", writable && !gray);
SET_SENSITIVE ("filters-noise-hurl", writable);
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index 9d1ac9b..f819afd 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -141,6 +141,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
"gegl:lens-distortion", /* in gimp */
"gegl:matting-global", /* useless */
"gegl:mono-mixer", /* in gimp */
+ "gegl:motion-blur", /* in gimp */
"gegl:noise-CIE_lch", /* in gimp */
"gegl:noise-hsv", /* in gimp */
"gegl:noise-hurl", /* in gimp */
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index d7aa763..87752c6 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -623,6 +623,7 @@
<menu action="plug-in-blur-menu" name="Blur">
<menuitem action="filters-gaussian-blur" />
<menuitem action="filters-dot" />
+ <menuitem action="filters-motion-blur" />
<menuitem action="filters-pixelize" />
</menu>
<menu action="plug-in-enhance-menu" name="Enhance">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]