[gimp] app: add gegl:checkerboard to <Image>/Filters/Render/Pattern
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: add gegl:checkerboard to <Image>/Filters/Render/Pattern
- Date: Tue, 30 Apr 2013 17:21:34 +0000 (UTC)
commit 0255a01f95e9a9b5c43c3fa634c85b1b9352ab2a
Author: Michael Natterer <mitch gimp org>
Date: Tue Apr 30 19:20:18 2013 +0200
app: add gegl:checkerboard to <Image>/Filters/Render/Pattern
app/actions/filters-actions.c | 7 +++++++
app/tools/gimpgegltool.c | 1 +
menus/image-menu.xml.in | 4 +++-
3 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c
index 4ced1b5..d4cd20c 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -51,6 +51,12 @@ static const GimpStringActionEntry filters_actions[] =
"gegl:cartoon",
NULL /* FIXME GIMP_HELP_FILTER_CARTOON */ },
+ { "filters-checkerboard", GIMP_STOCK_GEGL,
+ NC_("filters-action", "_Checkerboard..."), NULL,
+ NC_("filters-action", "Create a checkerboard pattern"),
+ "gegl:checkerboard",
+ NULL /* FIXME GIMP_HELP_FILTER_CHECKERBOARD */ },
+
{ "filters-color-reduction", GIMP_STOCK_GEGL,
NC_("filters-action", "Color _Reduction..."), NULL,
NC_("filters-action", "Reduce the number of colors in the image, with optional dithering"),
@@ -251,6 +257,7 @@ filters_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("filters-c2g", writable && !gray);
SET_SENSITIVE ("filters-cartoon", writable);
+ SET_SENSITIVE ("filters-checkerboard", writable);
SET_SENSITIVE ("filters-color-reduction", writable);
SET_SENSITIVE ("filters-color-temperature", writable && !gray);
SET_SENSITIVE ("filters-color-to-alpha", writable && !gray && alpha);
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index 348506d..693e3b0 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -112,6 +112,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
{
"gegl:c2g", /* in gimp */
"gegl:cartoon", /* in gimp */
+ "gegl:checkerboard", /* in gimp */
"gegl:color", /* pointless */
"gegl:color-reduction", /* in gimp */
"gegl:color-temperature", /* in gimp */
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index b80ab39..af3cddb 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -665,7 +665,9 @@
<menu action="plug-in-render-menu" name="Render">
<menu action="plug-in-render-clouds-menu" name="Clouds" />
<menu action="plug-in-render-nature-menu" name="Nature" />
- <menu action="plug-in-render-pattern-menu" name="Pattern" />
+ <menu action="plug-in-render-pattern-menu" name="Pattern">
+ <menuitem action="filters-checkerboard" />
+ </menu>
<separator />
</menu>
<menu action="plug-in-web-menu" name="Web">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]