[gimp] app: add gegl:exposure to Colors, and fix glitch in previous commit
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: add gegl:exposure to Colors, and fix glitch in previous commit
- Date: Tue, 14 May 2013 20:27:22 +0000 (UTC)
commit 5baabf87fdb7c9641a068be6c9335b81d5213ff4
Author: Michael Natterer <mitch gimp org>
Date: Tue May 14 22:26:16 2013 +0200
app: add gegl:exposure to Colors, and fix glitch in previous commit
app/actions/filters-actions.c | 19 +++++++++++++------
app/tools/gimpgegltool.c | 1 +
menus/image-menu.xml.in | 1 +
3 files changed, 15 insertions(+), 6 deletions(-)
---
diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c
index 3d9ad3a..83c4aac 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -41,7 +41,7 @@ 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)"),
+ NC_("filters-action", "Performs an averaging of a square box of pixels"),
"gegl:box-blur",
NULL /* FIXME GIMP_HELP_FILTER_BOX_BLUR */ },
@@ -81,17 +81,23 @@ static const GimpStringActionEntry filters_actions[] =
"gegl:color-to-alpha",
NULL /* FIXME GIMP_HELP_FILTER_COLOR_TO_ALPHA */ },
+ { "filters-difference-of-gaussians", GIMP_STOCK_GEGL,
+ NC_("filters-action", "Difference of Gaussians..."), NULL,
+ NC_("filters-action", "Edge detection with control of edge thickness"),
+ "gegl:difference-of-gaussians",
+ NULL /* FIXME GIMP_HELP_FILTER_DIFFERENCE_OF_GAUSSIANS */ },
+
{ "filters-dot", GIMP_STOCK_GEGL,
NC_("filters-action", "Dots..."), NULL,
NC_("filters-action", "Simplify image into an array of solid-colored dots"),
"gegl:dot",
NULL /* FIXME GIMP_HELP_FILTER_DOT */ },
- { "filters-difference-of-gaussians", GIMP_STOCK_GEGL,
- NC_("filters-action", "Difference of Gaussians..."), NULL,
- NC_("filters-action", "Edge detection with control of edge thickness"),
- "gegl:difference-of-gaussians",
- NULL /* FIXME GIMP_HELP_FILTER_DIFFERENCE_OF_GAUSSIANS */ },
+ { "filters-exposure", GIMP_STOCK_GEGL,
+ NC_("filters-action", "_E_xposure..."), NULL,
+ NC_("filters-action", "Changes Exposure and Contrast, mainly for use with high dynamic range images"),
+ "gegl:exposure",
+ NULL /* FIXME GIMP_HELP_FILTER_EXPOSURE */ },
{ "filters-gaussian-blur", GIMP_STOCK_GEGL,
NC_("filters-action", "_Gaussian Blur..."), NULL,
@@ -270,6 +276,7 @@ filters_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("filters-color-to-alpha", writable && !gray && alpha);
SET_SENSITIVE ("filters-difference-of-gaussians", writable);
SET_SENSITIVE ("filters-dot", writable);
+ SET_SENSITIVE ("filters-exposure", writable);
SET_SENSITIVE ("filters-gaussian-blur", writable);
SET_SENSITIVE ("filters-laplace", writable);
SET_SENSITIVE ("filters-mono-mixer", writable && !gray);
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index b553fe2..5803ad3 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -126,6 +126,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
"gegl:dot", /* in gimp */
"gegl:edge-laplace", /* in gimp */
"gegl:edge-sobel", /* in gimp */
+ "gegl:exposure", /* in gimp */
"gegl:fill-path",
"gegl:gaussian-blur", /* in gimp */
"gegl:grey", /* in gimp */
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index 11f02c6..9806592 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -543,6 +543,7 @@
<menuitem action="filters-color-to-alpha" />
<menuitem action="filters-color-reduction" />
<menuitem action="filters-color-temperature" />
+ <menuitem action="filters-exposure" />
<placeholder name="Modify" />
</menu>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]