[gimp] app: add gegl:mosaic to Filters -> Distorts
- From: Téo Mazars <teom src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: add gegl:mosaic to Filters -> Distorts
- Date: Sat, 21 Sep 2013 17:02:43 +0000 (UTC)
commit 68feec5dcf02a9145e5c2b631638ecd10f911544
Author: Téo Mazars <teo mazars ensimag fr>
Date: Sat Sep 21 18:58:44 2013 +0200
app: add gegl:mosaic to Filters -> Distorts
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 198c1d1..522ca2f 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -160,6 +160,11 @@ static const GimpStringActionEntry filters_actions[] =
"gegl:mono-mixer",
NULL /* FIXME GIMP_HELP_FILTER_MONO_MIXER */ },
+ { "filters-mosaic", GIMP_STOCK_GEGL,
+ NC_("filters-action", "Mosaic..."), NULL, NULL,
+ "gegl:mosaic",
+ NULL /* FIXME GIMP_HELP_FILTER_MOSAIC */ },
+
{ "filters-motion-blur-circular", GIMP_STOCK_GEGL,
NC_("filters-action", "_Circular Motion Blur..."), NULL, NULL,
"gegl:motion-blur-circular",
@@ -369,6 +374,7 @@ filters_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("filters-gaussian-blur", writable);
SET_SENSITIVE ("filters-grid", writable);
SET_SENSITIVE ("filters-mono-mixer", writable && !gray);
+ SET_SENSITIVE ("filters-mosaic", writable);
SET_SENSITIVE ("filters-motion-blur-circular", writable);
SET_SENSITIVE ("filters-motion-blur-linear", writable);
SET_SENSITIVE ("filters-motion-blur-zoom", writable);
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index d05a46d..6306d41 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -140,6 +140,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
"gegl:invert-gamma",
"gegl:lens-distortion",
"gegl:mono-mixer",
+ "gegl:mosaic",
"gegl:motion-blur-circular",
"gegl:motion-blur-linear",
"gegl:motion-blur-zoom",
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index 26496ee..3e69f54 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -647,6 +647,7 @@
<menu action="plug-in-distorts-menu" name="Distorts">
<menuitem action="filters-emboss" />
<menuitem action="filters-lens-distortion" />
+ <menuitem action="filters-mosaic" />
<menuitem action="filters-polar-coordinates" />
<menuitem action="filters-ripple" />
<menuitem action="filters-shift" />
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]