[gimp] app: add gegl:diffraction-patterns Filters -> Render -> Pattern
- From: Alexandre Prokoudine <aprokoudine src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: add gegl:diffraction-patterns Filters -> Render -> Pattern
- Date: Tue, 20 Jan 2015 21:47:51 +0000 (UTC)
commit 931f4581b7813881383ba28c8fa1bae7ddf774f3
Author: Alexandre Prokoudine <alexandre prokoudine gmail com>
Date: Wed Jan 21 00:45:33 2015 +0300
app: add gegl:diffraction-patterns Filters -> Render -> Pattern
app/actions/filters-actions.c | 6 ++++++
app/sanity.c | 1 +
app/tools/gimpgegltool.c | 1 +
menus/image-menu.xml.in | 1 +
4 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c
index b372950..40c1c2e 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -134,6 +134,11 @@ static const GimpStringActionEntry filters_actions[] =
"gegl:difference-of-gaussians",
NULL /* FIXME GIMP_HELP_FILTER_DIFFERENCE_OF_GAUSSIANS */ },
+ { "filters-diffraction-patterns", GIMP_STOCK_GEGL,
+ NC_("filters-action", "Diffraction Patterns..."), NULL, NULL,
+ "gegl:diffraction-patterns",
+ NULL /* FIXME GIMP_HELP_FILTER_DIFFRACTION_PATTERNS */ },
+
{ "filters-distance-map", GIMP_STOCK_GEGL,
NC_("filters-action", "Distance Map..."), NULL, NULL,
"gegl:distance-transform",
@@ -489,6 +494,7 @@ filters_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("filters-cubism", writable);
SET_SENSITIVE ("filters-deinterlace", writable);
SET_SENSITIVE ("filters-difference-of-gaussians", writable);
+ SET_SENSITIVE ("filters-diffraction-patterns", writable);
SET_SENSITIVE ("filters-distance-map", writable);
SET_SENSITIVE ("filters-dropshadow", writable && alpha);
SET_SENSITIVE ("filters-edge-laplace", writable);
diff --git a/app/sanity.c b/app/sanity.c
index 5377674..80237cc 100644
--- a/app/sanity.c
+++ b/app/sanity.c
@@ -493,6 +493,7 @@ sanity_check_gegl_ops (void)
"gegl:cubism",
"gegl:deinterlace",
"gegl:difference-of-gaussians",
+ "gegl:diffraction-patterns",
"gegl:distance-transform",
"gegl:dropshadow",
"gegl:edge-laplace",
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index 314f0c5..6ef884c 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -134,6 +134,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
"gegl:cubism",
"gegl:deinterlace",
"gegl:difference-of-gaussians",
+ "gegl:diffraction-patterns",
"gegl:distance-transform",
"gegl:dropshadow",
"gegl:edge-laplace",
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index db54fcd..fa0a335 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -727,6 +727,7 @@
</menu>
<menu action="plug-in-render-pattern-menu" name="Pattern">
<menuitem action="filters-checkerboard" />
+ <menuitem action="filters-diffraction-patternsd" />
<menuitem action="filters-grid" />
<menuitem action="filters-sinus" />
</menu>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]