[gimp] app: add gegl:box-blur to Filters/Blur
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: add gegl:box-blur to Filters/Blur
- Date: Tue, 14 May 2013 19:35:32 +0000 (UTC)
commit de12010107007e91af73c87462e0195c3c4dc0dd
Author: Michael Natterer <mitch gimp org>
Date: Tue May 14 21:33:07 2013 +0200
app: add gegl:box-blur to Filters/Blur
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 d4cd20c..3d9ad3a 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -39,6 +39,12 @@
static const GimpStringActionEntry filters_actions[] =
{
+ { "filters-box-blur", GIMP_STOCK_GEGL,
+ NC_("filters-action", "B_ox Blur..."), NULL,
+ NC_("filters-action", "Radius of square pixel region, (width and height will be radius*2+1)"),
+ "gegl:box-blur",
+ NULL /* FIXME GIMP_HELP_FILTER_BOX_BLUR */ },
+
{ "filters-c2g", GIMP_STOCK_GEGL,
NC_("filters-action", "Color to Gray..."), NULL,
NC_("filters-action", "Color to grayscale conversion"),
@@ -255,6 +261,7 @@ filters_actions_update (GimpActionGroup *group,
#define SET_SENSITIVE(action,condition) \
gimp_action_group_set_action_sensitive (group, action, (condition) != 0)
+ SET_SENSITIVE ("filters-box-blur", writable);
SET_SENSITIVE ("filters-c2g", writable && !gray);
SET_SENSITIVE ("filters-cartoon", writable);
SET_SENSITIVE ("filters-checkerboard", writable);
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index 693e3b0..b553fe2 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -110,6 +110,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
};
static const gchar * const name_blacklist[] =
{
+ "gegl:box-blur", /* in gimp */
"gegl:c2g", /* in gimp */
"gegl:cartoon", /* in gimp */
"gegl:checkerboard", /* in gimp */
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index af3cddb..11f02c6 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -619,6 +619,7 @@
<menuitem action="plug-in-reset-all" />
<separator />
<menu action="plug-in-blur-menu" name="Blur">
+ <menuitem action="filters-box-blur" />
<menuitem action="filters-gaussian-blur" />
<menuitem action="filters-dot" />
<menuitem action="filters-pixelize" />
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]