[gimp] app: add gegl:gegl to Filters -> Generic



commit 020b524e59534d1873f3956d1a27ed56a664c7ec
Author: Michael Natterer <mitch gimp org>
Date:   Sat Apr 16 03:17:49 2016 +0100

    app: add gegl:gegl to Filters -> Generic
    
    Also fix packing of the operation GUI in GimpOperationTool,
    so the text box can expand.

 app/actions/filters-actions.c |    6 ++++++
 app/sanity.c                  |    1 +
 app/tools/gimpgegltool.c      |    1 +
 app/tools/gimpoperationtool.c |    2 +-
 4 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c
index 4d048f8..845ded8 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -262,6 +262,11 @@ static const GimpStringActionEntry filters_actions[] =
     "gegl:gaussian-blur-selective",
     NULL /* FIXME GIMP_HELP_FILTER_GAUSSIAN_BLUR_SELECTIVE */ },
 
+  { "filters-gegl-graph", GIMP_STOCK_GEGL,
+    NC_("filters-action", "_GEGL graph..."), NULL, NULL,
+    "gegl:gegl",
+    NULL /* FIXME GIMP_HELP_FILTER_GEGL_GRAPH */ },
+
   { "filters-grid", GIMP_STOCK_GRID,
     NC_("filters-action", "_Grid..."), NULL, NULL,
     "gegl:grid",
@@ -682,6 +687,7 @@ filters_actions_update (GimpActionGroup *group,
   SET_SENSITIVE ("filters-fractal-trace",           writable);
   SET_SENSITIVE ("filters-gaussian-blur",           writable);
   SET_SENSITIVE ("filters-gaussian-blur-selective", writable);
+  SET_SENSITIVE ("filters-gegl-graph",              writable);
   SET_SENSITIVE ("filters-grid",                    writable);
   SET_SENSITIVE ("filters-high-pass",               writable);
   SET_SENSITIVE ("filters-illusion",                writable);
diff --git a/app/sanity.c b/app/sanity.c
index 0488de6..038fc35 100644
--- a/app/sanity.c
+++ b/app/sanity.c
@@ -506,6 +506,7 @@ sanity_check_gegl_ops (void)
     "gegl:fractal-trace",
     "gegl:gaussian-blur",
     "gegl:gaussian-blur-selective",
+    "gegl:gegl",
     "gegl:grid",
     "gegl:high-pass",
     "gegl:illusion",
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index e3a8a79..8df7edc 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -145,6 +145,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
     "gegl:fractal-trace",
     "gegl:gaussian-blur",
     "gegl:gaussian-blur-selective",
+    "gegl:gegl",
     "gegl:grid",
     "gegl:high-pass",
     "gegl:illusion",
diff --git a/app/tools/gimpoperationtool.c b/app/tools/gimpoperationtool.c
index ff286ff..8d64c1f 100644
--- a/app/tools/gimpoperationtool.c
+++ b/app/tools/gimpoperationtool.c
@@ -301,7 +301,7 @@ gimp_operation_tool_dialog (GimpImageMapTool *im_tool)
   if (tool->options_gui)
     {
       gtk_box_pack_start (GTK_BOX (tool->options_box), tool->options_gui,
-                          FALSE, FALSE, 0);
+                          TRUE, TRUE, 0);
       gtk_widget_show (tool->options_gui);
     }
 }


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