[gimp] app: add gegl:video-degradation to Filters -> Distorts



commit a8853801a06b3f881e36942a03a1c420bc57f05c
Author: Michael Natterer <mitch gimp org>
Date:   Wed Nov 12 22:20:11 2014 +0100

    app: add gegl:video-degradation to Filters -> Distorts

 app/actions/filters-actions.c |    6 ++++++
 app/sanity.c                  |    1 +
 app/tools/gimpgegltool.c      |    1 +
 menus/image-menu.xml.in       |    1 +
 4 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c
index 8f4a268..30b26f5 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -349,6 +349,11 @@ static const GimpStringActionEntry filters_actions[] =
     "gegl:unsharp-mask",
     NULL /* FIXME GIMP_HELP_FILTER_UNSHARP_MASK */ },
 
+  { "filters-video-degradation", GIMP_STOCK_GEGL,
+    NC_("filters-action", "_Vi_deo Degradation..."), NULL, NULL,
+    "gegl:video-degradation",
+    NULL /* FIXME GIMP_HELP_FILTER_VIDEO_DEGRADATION */ },
+
   { "filters-vignette", GIMP_STOCK_GEGL,
     NC_("filters-action", "_Vignette..."), NULL, NULL,
     "gegl:vignette",
@@ -492,6 +497,7 @@ filters_actions_update (GimpActionGroup *group,
   SET_SENSITIVE ("filters-tile-glass",              writable);
   SET_SENSITIVE ("filters-tile-seamless",           writable);
   SET_SENSITIVE ("filters-unsharp-mask",            writable);
+  SET_SENSITIVE ("filters-video-degradation",       writable);
   SET_SENSITIVE ("filters-vignette",                writable);
   SET_SENSITIVE ("filters-waves",                   writable);
   SET_SENSITIVE ("filters-whirl-pinch",             writable);
diff --git a/app/sanity.c b/app/sanity.c
index 0288b26..21c0c61 100644
--- a/app/sanity.c
+++ b/app/sanity.c
@@ -544,6 +544,7 @@ sanity_check_gegl_ops (void)
     "gegl:translate",
     "gegl:unsharp-mask",
     "gegl:value-invert",
+    "gegl:video-degradation",
     "gegl:vignette",
     "gegl:warp",
     "gegl:waves",
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index 3e7c4e5..5029823 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -178,6 +178,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
     "gegl:tile-seamless",
     "gegl:unsharp-mask",
     "gegl:value-invert",
+    "gegl:video-degradation",
     "gegl:vignette",
     "gegl:waves",
     "gegl:whirl-pinch",
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index 3f092c0..9ff1092 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -658,6 +658,7 @@
        <menuitem action="filters-polar-coordinates" />
         <menuitem action="filters-ripple" />
         <menuitem action="filters-shift" />
+        <menuitem action="filters-video-degradation" />
         <menuitem action="filters-waves" />
         <menuitem action="filters-whirl-pinch" />
         <menuitem action="filters-wind" />


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]