[gimp] app: add gegl:supernova to Filters -> Lights & Shadows
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: add gegl:supernova to Filters -> Lights & Shadows
- Date: Tue, 18 Nov 2014 19:01:43 +0000 (UTC)
commit 6c590ac0839fca157e519e6e08968a31cdfb4a32
Author: Michael Natterer <mitch gimp org>
Date: Tue Nov 18 20:01:09 2014 +0100
app: add gegl:supernova to Filters -> Lights & Shadows
app/actions/filters-actions.c | 8 +++++++-
app/sanity.c | 3 +++
app/tools/gimpgegltool.c | 1 +
menus/image-menu.xml.in | 4 +++-
4 files changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c
index 30b26f5..4a1a2d2 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -329,10 +329,15 @@ static const GimpStringActionEntry filters_actions[] =
"gegl:stretch-contrast-hsv",
NULL /* FIXME GIMP_HELP_FILTER_STRETCH_CONTRAST_HSV */ },
+ { "filters-supernova", GIMP_STOCK_GEGL,
+ NC_("filters-action", "_Super_nova..."), NULL, NULL,
+ "gegl:supernova",
+ NULL /* FIXME GIMP_HELP_FILTER_SUPERNOVA */ },
+
{ "filters-threshold-alpha", GIMP_STOCK_GEGL,
NC_("filters-action", "_Threshold Alpha..."), NULL, NULL,
"gimp:threshold-alpha",
- NULL /* FIXME GIMP_HELP_FILTER_POLAR_COORDINATES */ },
+ NULL /* FIXME GIMP_HELP_FILTER_THRESHOLD_ALPHA */ },
{ "filters-tile-glass", GIMP_STOCK_GEGL,
NC_("filters-action", "_Glass Tile..."), NULL, NULL,
@@ -493,6 +498,7 @@ filters_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("filters-softglow", writable);
SET_SENSITIVE ("filters-stretch-contrast", writable);
SET_SENSITIVE ("filters-stretch-contrast-hsv", writable);
+ SET_SENSITIVE ("filters-supernova", writable);
SET_SENSITIVE ("filters-threshold-alpha", writable && alpha);
SET_SENSITIVE ("filters-tile-glass", writable);
SET_SENSITIVE ("filters-tile-seamless", writable);
diff --git a/app/sanity.c b/app/sanity.c
index 21c0c61..24be7e3 100644
--- a/app/sanity.c
+++ b/app/sanity.c
@@ -536,6 +536,9 @@ sanity_check_gegl_ops (void)
"gegl:shift",
"gegl:simplex-noise",
"gegl:softglow",
+ "gegl:stretch-contrast",
+ "gegl:stretch-contrast-hsv",
+ "gegl:supernova",
"gegl:threshold",
"gegl:tile",
"gegl:tile-glass",
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index 5029823..3f6ca06 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -173,6 +173,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
"gegl:softglow",
"gegl:stretch-contrast",
"gegl:stretch-contrast-hsv",
+ "gegl:supernova",
"gegl:texturize-canvas",
"gegl:tile-glass",
"gegl:tile-seamless",
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index 9ff1092..59a05ee 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -664,7 +664,9 @@
<menuitem action="filters-wind" />
</menu>
<menu action="plug-in-light-shadow-menu" name="Light and Shadow">
- <placeholder name="Light" />
+ <placeholder name="Light">
+ <menuitem action="filters-supernova" />
+ </placeholder>
<separator />
<placeholder name="Shadow">
<menuitem action="filters-dropshadow" />
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]