[gimp] app: rename the filters-laplace and filters-sobel actions
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: rename the filters-laplace and filters-sobel actions
- Date: Fri, 31 May 2013 20:17:10 +0000 (UTC)
commit 73a8d59472ebda97a25945c9c3640d2436cd4c93
Author: Michael Natterer <mitch gimp org>
Date: Fri May 31 22:14:45 2013 +0200
app: rename the filters-laplace and filters-sobel actions
to filters-edge-foo because the ops are also called gegl:filter-edge-foo.
app/actions/filters-actions.c | 24 ++++++++++++------------
menus/image-menu.xml.in | 4 ++--
2 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c
index a788b01..e030b6f 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -90,6 +90,16 @@ static const GimpStringActionEntry filters_actions[] =
"gegl:dot",
NULL /* FIXME GIMP_HELP_FILTER_DOT */ },
+ { "filters-edge-laplace", GIMP_STOCK_GEGL,
+ NC_("filters-action", "_Laplace"), NULL, NULL,
+ "gegl:edge-laplace",
+ NULL /* FIXME GIMP_HELP_FILTER_EDGE_LAPLACE */ },
+
+ { "filters-edge-sobel", GIMP_STOCK_GEGL,
+ NC_("filters-action", "_Sobel..."), NULL, NULL,
+ "gegl:edge-sobel",
+ NULL /* FIXME GIMP_HELP_FILTER_EDGE_SOBEL */ },
+
{ "filters-emboss", GIMP_STOCK_GEGL,
NC_("filters-action", "_Emboss..."), NULL, NULL,
"gegl:emboss",
@@ -110,11 +120,6 @@ static const GimpStringActionEntry filters_actions[] =
"gegl:gaussian-blur",
NULL /* FIXME GIMP_HELP_FILTER_GAUSSIAN_BLUR */ },
- { "filters-laplace", GIMP_STOCK_GEGL,
- NC_("filters-action", "_Laplace"), NULL, NULL,
- "gegl:edge-laplace",
- NULL /* FIXME GIMP_HELP_FILTER_LAPLACE */ },
-
{ "filters-lens-distortion", GIMP_STOCK_GEGL,
NC_("filters-action", "Lens Distortion..."), NULL, NULL,
"gegl:lens-distortion",
@@ -200,11 +205,6 @@ static const GimpStringActionEntry filters_actions[] =
"gegl:shift",
NULL /* FIXME GIMP_HELP_FILTER_SHIFT */ },
- { "filters-sobel", GIMP_STOCK_GEGL,
- NC_("filters-action", "_Sobel..."), NULL, NULL,
- "gegl:edge-sobel",
- NULL /* FIXME GIMP_HELP_FILTER_SOBEL */ },
-
{ "filters-softglow", GIMP_STOCK_GEGL,
NC_("filters-action", "_Softglow..."), NULL, NULL,
"gegl:softglow",
@@ -302,11 +302,12 @@ filters_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("filters-deinterlace", writable);
SET_SENSITIVE ("filters-difference-of-gaussians", writable);
SET_SENSITIVE ("filters-dot", writable);
+ SET_SENSITIVE ("filters-edge-laplace", writable);
+ SET_SENSITIVE ("filters-edge-sobel", writable);
SET_SENSITIVE ("filters-emboss", writable);
SET_SENSITIVE ("filters-exposure", writable);
SET_SENSITIVE ("filters-fractal-trace", writable);
SET_SENSITIVE ("filters-gaussian-blur", writable);
- SET_SENSITIVE ("filters-laplace", writable);
SET_SENSITIVE ("filters-mono-mixer", writable && !gray);
SET_SENSITIVE ("filters-motion-blur", writable);
SET_SENSITIVE ("filters-noise-cie-lch", writable);
@@ -324,7 +325,6 @@ filters_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("filters-ripple", writable);
SET_SENSITIVE ("filters-semi-flatten", writable && alpha);
SET_SENSITIVE ("filters-shift", writable);
- SET_SENSITIVE ("filters-sobel", writable);
SET_SENSITIVE ("filters-softglow", writable);
SET_SENSITIVE ("filters-threshold-alpha", writable && alpha);
SET_SENSITIVE ("filters-unsharp-mask", writable);
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index 87752c6..88f5c87 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -657,8 +657,8 @@
</menu>
<menu action="plug-in-edge-detect-menu" name="Edge-Detect">
<menuitem action="filters-difference-of-gaussians" />
- <menuitem action="filters-laplace" />
- <menuitem action="filters-sobel" />
+ <menuitem action="filters-edge-laplace" />
+ <menuitem action="filters-edge-sobel" />
</menu>
<menu action="plug-in-generic-menu" name="Generic" />
<menu action="plug-in-combine-menu" name="Combine" />
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]