[gimp] app: add gegl:vignette to Filters -> Decor
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: add gegl:vignette to Filters -> Decor
- Date: Wed, 27 Mar 2013 00:36:43 +0000 (UTC)
commit 71c88aebdc210fce981504ba72615c0077464b30
Author: Michael Natterer <mitch gimp org>
Date: Wed Mar 27 01:35:49 2013 +0100
app: add gegl:vignette to Filters -> Decor
app/actions/filters-actions.c | 6 ++++++
app/tools/gimpgegltool.c | 3 ++-
menus/image-menu.xml.in | 4 +++-
3 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c
index 9689894..4ced1b5 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -194,6 +194,12 @@ static const GimpStringActionEntry filters_actions[] =
NC_("filters-action", "The most widely used method for sharpening an image"),
"gegl:unsharp-mask",
NULL /* FIXME GIMP_HELP_FILTER_UNSHARP_MASK */ },
+
+ { "filters-vignette", GIMP_STOCK_GEGL,
+ NC_("filters-action", "_Vignette..."), NULL,
+ NC_("filters-action", "Applies a vignette to an image"),
+ "gegl:vignette",
+ NULL /* FIXME GIMP_HELP_FILTER_VIGNETTE */ },
};
void
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index 8067c1c..348506d 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -160,7 +160,8 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
"gegl:translate", /* pointless */
"gegl:unsharp-mask", /* in gimp */
"gegl:value-invert", /* in gimp */
- "gegl:vector-stroke"
+ "gegl:vector-stroke",
+ "gegl:vignette", /* in gimp */
};
gchar **categories;
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index ad41700..d58d3fb 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -649,7 +649,9 @@
<menuitem action="filters-photocopy" />
<menuitem action="filters-softglow" />
</menu>
- <menu action="plug-in-decor-menu" name="Decor" />
+ <menu action="plug-in-decor-menu" name="Decor">
+ <menuitem action="filters-vignette" />
+ </menu>
<menu action="plug-in-map-menu" name="Map" />
<menu action="plug-in-render-menu" name="Render">
<menu action="plug-in-render-clouds-menu" name="Clouds" />
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]