[gimp] app: add gegl:alien-map to Colors -> Map
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: add gegl:alien-map to Colors -> Map
- Date: Thu, 18 Jul 2013 20:54:26 +0000 (UTC)
commit d682135d7aebad606326cab2528dc534a5e454f7
Author: Michael Natterer <mitch gimp org>
Date: Thu Jul 18 22:53:06 2013 +0200
app: add gegl:alien-map to Colors -> Map
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 0d5e7ef..b4e13d2 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -40,6 +40,11 @@
static const GimpStringActionEntry filters_actions[] =
{
+ { "filters-alien-map", GIMP_STOCK_GEGL,
+ NC_("filters-action", "_Alien Map..."), NULL, NULL,
+ "gegl:alien-map",
+ NULL /* FIXME GIMP_HELP_FILTER_ALIEN_MAP */ },
+
{ "filters-c2g", GIMP_STOCK_GEGL,
NC_("filters-action", "Color to Gray..."), NULL, NULL,
"gegl:c2g",
@@ -317,6 +322,7 @@ filters_actions_update (GimpActionGroup *group,
#define SET_SENSITIVE(action,condition) \
gimp_action_group_set_action_sensitive (group, action, (condition) != 0)
+ SET_SENSITIVE ("filters-alien-map", 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 2435556..02c16d6 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -113,6 +113,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
/* these ops are already added to the menus via
* filter-actions ordrawable-actions
*/
+ "gegl:alien-map",
"gegl:c2g",
"gegl:cartoon",
"gegl:checkerboard",
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index a47452d..fb3d318 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -540,6 +540,7 @@
<menu action="colors-map-menu" name="Map">
<placeholder name="Colormap" />
<separator />
+ <menuitem action="filters-alien-map" />
</menu>
<menu action="colors-info-menu" name="Info">
<menuitem action="dialogs-histogram" />
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]