[gimp] app: add gegl:tile-glass to Filters -> Artistic



commit e09453cfbb493144c21c12cf90dab272d693d1ef
Author: Michael Natterer <mitch gimp org>
Date:   Fri May 16 21:59:30 2014 +0200

    app: add gegl:tile-glass to Filters -> Artistic

 app/actions/filters-actions.c |    6 ++++++
 app/tools/gimpgegltool.c      |    1 +
 menus/image-menu.xml.in       |    1 +
 3 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c
index a90a5ee..4c76ea1 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -290,6 +290,11 @@ static const GimpStringActionEntry filters_actions[] =
     "gimp:threshold-alpha",
     NULL /* FIXME GIMP_HELP_FILTER_POLAR_COORDINATES */ },
 
+  { "filters-tile-glass", GIMP_STOCK_GEGL,
+    NC_("filters-action", "_Glass Tile..."), NULL, NULL,
+    "gegl:tile-glass",
+    NULL /* FIXME GIMP_HELP_FILTER_TILE_GLASS */ },
+
   { "filters-tile-seamless", GIMP_STOCK_GEGL,
     NC_("filters-action", "_Tile Seamless..."), NULL, NULL,
     "gegl:tile-seamless",
@@ -431,6 +436,7 @@ filters_actions_update (GimpActionGroup *group,
   SET_SENSITIVE ("filters-stretch-contrast",        writable);
   SET_SENSITIVE ("filters-stretch-contrast-hsv",    writable);
   SET_SENSITIVE ("filters-threshold-alpha",         writable && alpha);
+  SET_SENSITIVE ("filters-tile-glass",              writable);
   SET_SENSITIVE ("filters-tile-seamless",           writable);
   SET_SENSITIVE ("filters-unsharp-mask",            writable);
   SET_SENSITIVE ("filters-vignette",                writable);
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index 3e0f9a4..477b9d9 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -165,6 +165,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
     "gegl:stretch-contrast",
     "gegl:stretch-contrast-hsv",
     "gegl:texturize-canvas",
+    "gegl:tile-glass",
     "gegl:tile-seamless",
     "gegl:unsharp-mask",
     "gegl:value-invert",
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index 160f03e..ddcb88a 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -688,6 +688,7 @@
        <menuitem action="filters-apply-canvas" />
        <menuitem action="filters-cartoon" />
        <menuitem action="filters-cubism" />
+       <menuitem action="filters-tile-glass" />
        <menuitem action="filters-photocopy" />
        <menuitem action="filters-softglow" />
       </menu>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]