[gimp] app: add gegl:cubism to Filters -> Artistic
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: add gegl:cubism to Filters -> Artistic
- Date: Sun, 19 May 2013 20:22:38 +0000 (UTC)
commit dd648b1c1264a70ade137276293e827b40954eca
Author: Michael Natterer <mitch gimp org>
Date: Sun May 19 22:21:38 2013 +0200
app: add gegl:cubism to Filters -> Artistic
app/actions/filters-actions.c | 7 +++++++
app/tools/gimpgegltool.c | 1 +
menus/image-menu.xml.in | 1 +
3 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c
index d1e509e..4851138 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -75,6 +75,12 @@ static const GimpStringActionEntry filters_actions[] =
"gegl:color-to-alpha",
NULL /* FIXME GIMP_HELP_FILTER_COLOR_TO_ALPHA */ },
+ { "filters-cubism", GIMP_STOCK_GEGL,
+ NC_("filters-action", "_Cubism..."), NULL,
+ NC_("filters-action", "Convert the image into randomly rotated square blobs, somehow resembling a cubist
painting style"),
+ "gegl:cubism",
+ NULL /* FIXME GIMP_HELP_FILTER_CUBISM */ },
+
{ "filters-difference-of-gaussians", GIMP_STOCK_GEGL,
NC_("filters-action", "Difference of Gaussians..."), NULL,
NC_("filters-action", "Edge detection with control of edge thickness"),
@@ -273,6 +279,7 @@ filters_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("filters-color-reduction", writable);
SET_SENSITIVE ("filters-color-temperature", writable && !gray);
SET_SENSITIVE ("filters-color-to-alpha", writable && !gray && alpha);
+ SET_SENSITIVE ("filters-cubism", writable);
SET_SENSITIVE ("filters-difference-of-gaussians", writable);
SET_SENSITIVE ("filters-dot", writable);
SET_SENSITIVE ("filters-exposure", writable);
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index 16a6b66..735d893 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -119,6 +119,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
"gegl:color-temperature", /* in gimp */
"gegl:color-to-alpha", /* in gimp */
"gegl:colorize", /* in gimp */
+ "gegl:cubism", /* in gimp */
"gegl:contrast-curve",
"gegl:convert-format",
"gegl:difference-of-gaussians", /* in gimp */
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index 353018d..a166444 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -657,6 +657,7 @@
<menu action="plug-in-combine-menu" name="Combine" />
<menu action="plug-in-artistic-menu" name="Artistic">
<menuitem action="filters-cartoon" />
+ <menuitem action="filters-cubism" />
<menuitem action="filters-photocopy" />
<menuitem action="filters-softglow" />
</menu>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]