[gimp] app, menus: add gegl:image-gradient and gegl:snn-mean to the menus
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app, menus: add gegl:image-gradient and gegl:snn-mean to the menus
- Date: Thu, 2 Feb 2017 18:54:59 +0000 (UTC)
commit 7c9a740b741a91afc40fcae055c5bd0b1e945695
Author: Michael Natterer <mitch gimp org>
Date: Thu Feb 2 19:54:23 2017 +0100
app, menus: add gegl:image-gradient and gegl:snn-mean to the menus
app/actions/filters-actions.c | 12 ++++++++++++
app/sanity.c | 2 ++
app/tools/gimpgegltool.c | 5 ++++-
app/widgets/gimphelp-ids.h | 2 ++
menus/image-menu.xml.in | 6 ++++++
5 files changed, 26 insertions(+), 1 deletions(-)
---
diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c
index c308340..a978f89 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -292,6 +292,11 @@ static const GimpStringActionEntry filters_actions[] =
"gegl:illusion",
GIMP_HELP_FILTER_ILLUSION },
+ { "filters-image-gradient", GIMP_STOCK_GEGL,
+ NC_("filters-action", "_Image Gradient..."), NULL, NULL,
+ "gegl:image-gradient",
+ GIMP_HELP_FILTER_IMAGE_GRADIENT },
+
{ "filters-kaleidoscope", GIMP_STOCK_GEGL,
NC_("filters-action", "_Kaleidoscope..."), NULL, NULL,
"gegl:mirrors",
@@ -477,6 +482,11 @@ static const GimpStringActionEntry filters_actions[] =
"gegl:slic",
GIMP_HELP_FILTER_SLIC },
+ { "filters-snn-mean", GIMP_STOCK_GEGL,
+ NC_("filters-action", "_Symmetric Nearest Neighbor..."), NULL, NULL,
+ "gegl:snn-mean",
+ GIMP_HELP_FILTER_SNN_MEAN },
+
{ "filters-softglow", GIMP_STOCK_GEGL,
NC_("filters-action", "_Softglow..."), NULL, NULL,
"gegl:softglow",
@@ -718,6 +728,7 @@ filters_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("filters-grid", writable);
SET_SENSITIVE ("filters-high-pass", writable);
SET_SENSITIVE ("filters-illusion", writable);
+ SET_SENSITIVE ("filters-image-gradient", writable);
SET_SENSITIVE ("filters-kaleidoscope", writable);
SET_SENSITIVE ("filters-lens-distortion", writable);
SET_SENSITIVE ("filters-lens-flare", writable);
@@ -755,6 +766,7 @@ filters_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("filters-shift", writable);
SET_SENSITIVE ("filters-sinus", writable);
SET_SENSITIVE ("filters-slic", writable);
+ SET_SENSITIVE ("filters-snn-mean", writable);
SET_SENSITIVE ("filters-softglow", writable);
SET_SENSITIVE ("filters-stretch-contrast", writable);
SET_SENSITIVE ("filters-stretch-contrast-hsv", writable);
diff --git a/app/sanity.c b/app/sanity.c
index 107defd..a67b797 100644
--- a/app/sanity.c
+++ b/app/sanity.c
@@ -565,6 +565,7 @@ sanity_check_gegl_ops (void)
"gegl:grid",
"gegl:high-pass",
"gegl:illusion",
+ "gegl:image-gradient",
"gegl:introspect",
"gegl:invert-gamma",
"gegl:invert-linear",
@@ -609,6 +610,7 @@ sanity_check_gegl_ops (void)
"gegl:shift",
"gegl:sinus",
"gegl:slic",
+ "gegl:snn-mean",
"gegl:softglow",
"gegl:stretch-contrast",
"gegl:stretch-contrast-hsv",
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index 500e967..e5b0a52 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -151,6 +151,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
"gegl:grid",
"gegl:high-pass",
"gegl:illusion",
+ "gegl:image-gradient",
"gegl:invert-linear",
"gegl:invert-gamma",
"gegl:lens-distortion",
@@ -187,6 +188,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
"gegl:simplex-noise",
"gegl:sinus",
"gegl:slic",
+ "gegl:snn-mean",
"gegl:softglow",
"gegl:stretch-contrast",
"gegl:stretch-contrast-hsv",
@@ -209,6 +211,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
/* these ops are blacklisted for other reasons */
"gegl:contrast-curve",
"gegl:convert-format", /* pointless */
+ "gegl:ditto", /* pointless */
"gegl:fill-path",
"gegl:gray", /* we use gimp's op */
"gegl:hstack", /* pointless */
@@ -229,7 +232,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
"gegl:text", /* we use gimp's text rendering */
"gegl:threshold", /* we use gimp's op */
"gegl:tile", /* pointless */
- "gegl:unpremus", /* pointless */
+ "gegl:unpremul", /* pointless */
"gegl:vector-stroke",
};
diff --git a/app/widgets/gimphelp-ids.h b/app/widgets/gimphelp-ids.h
index 28c3978..1ff9df3 100644
--- a/app/widgets/gimphelp-ids.h
+++ b/app/widgets/gimphelp-ids.h
@@ -371,6 +371,7 @@
#define GIMP_HELP_FILTER_GAUSSIAN_GRID "gimp-filter-grid"
#define GIMP_HELP_FILTER_HIGH_PASS "gimp-filter-high-pass"
#define GIMP_HELP_FILTER_ILLUSION "gimp-filter-illusion"
+#define GIMP_HELP_FILTER_IMAGE_GRADIENT "gimp-filter-image-gradient"
#define GIMP_HELP_FILTER_KALEIDOSCOPE "gimp-filter-kaleidoscope"
#define GIMP_HELP_FILTER_LENS_DISTORTION "gimp-filter-lens-distortion"
#define GIMP_HELP_FILTER_LENS_FLARE "gimp-filter-lens-flare"
@@ -408,6 +409,7 @@
#define GIMP_HELP_FILTER_SHIFT "gimp-filter-shift"
#define GIMP_HELP_FILTER_SINUS "gimp-filter-sinus"
#define GIMP_HELP_FILTER_SLIC "gimp-filter-slic"
+#define GIMP_HELP_FILTER_SNN_MEAN "gimp-filter-snn-mean"
#define GIMP_HELP_FILTER_SOFTGLOW "gimp-filter-softglow"
#define GIMP_HELP_FILTER_STRETCH_CONTRAST "gimp-filter-stretch-contrast"
#define GIMP_HELP_FILTER_STRETCH_CONTRAST_HSV "gimp-filter-stretch-contrast-hsv"
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index 748afbf..9c96ce3 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -580,6 +580,7 @@
</menu>
<menu action="colors-components-menu" name="Components">
<menuitem action="filters-channel-mixer" />
+ <menuitem action="filters-component-extract" />
<menuitem action="filters-mono-mixer" />
</menu>
<menu action="colors-desaturate-menu" name="Desaturate">
@@ -605,6 +606,7 @@
<menuitem action="filters-posterize" />
<menuitem action="filters-color-to-alpha" />
<menuitem action="filters-dither" />
+ <menuitem action="filters-rgb-clip" />
<placeholder name="Modify" />
</menu>
@@ -698,6 +700,7 @@
<menuitem action="filters-high-pass" />
<menuitem action="filters-noise-reduction" />
<menuitem action="filters-red-eye-removal" />
+ <menuitem action="filters-snn-mean" />
<menuitem action="filters-unsharp-mask" />
</menu>
<menu action="filters-distorts-menu" name="Distorts">
@@ -744,6 +747,7 @@
<menuitem action="filters-edge-laplace" />
<menuitem action="filters-edge-neon" />
<menuitem action="filters-edge-sobel" />
+ <menuitem action="filters-image-gradient" />
</menu>
<menu action="filters-generic-menu" name="Generic">
<menuitem action="filters-convolution-matrix" />
@@ -760,7 +764,9 @@
<menuitem action="filters-tile-glass" />
<menuitem action="filters-oilify" />
<menuitem action="filters-photocopy" />
+ <menuitem action="filters-slic" />
<menuitem action="filters-softglow" />
+ <menuitem action="filters-waterpixels" />
</menu>
<menu action="filters-decor-menu" name="Decor" />
<menu action="filters-map-menu" name="Map">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]