[gimp] app, menus: move "GEGL Operation" from Tools to Filters > Generic menu.



commit 90d0a7f6283980a2ea9709391af49b00322c3563
Author: Jehan <jehan girinstud io>
Date:   Sun Jan 31 17:35:44 2021 +0100

    app, menus: move "GEGL Operation" from Tools to Filters > Generic menu.
    
    See the discussion in #5339. Basically this is now technically a tool
    (i.e. a child class of GimpTool) and tools can be activated anytime,
    even when no images are opened, i.e. when they are useless (for instance
    paint tools). Filters on the other hand were historically only
    activatable with opened images. With time, tools and filters difference
    got slimmer (until there are technically none nowadays where GEGL ops,
    levels or curves are implemented as GimpTool too) if not only a
    conceptual difference.
    
    Since here GEGL Operation is really more on the "filter" side, let's
    just move it to the "Filters > Generic" submenu, just next to "GEGL
    Graph", also removing the mention of it being a "tool" from the help
    message.
    Then I will merge !402 for it to be (in)active depending on images, as
    other filters do.

 app/tools/gimpgegltool.c | 2 +-
 menus/image-menu.xml.in  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index 9e67025457..308d6c6966 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -76,7 +76,7 @@ gimp_gegl_tool_register (GimpToolRegisterCallback  callback,
                 0,
                 "gimp-gegl-tool",
                 _("GEGL Operation"),
-                _("GEGL Tool: Use an arbitrary GEGL operation"),
+                _("Run an arbitrary GEGL operation"),
                 N_("_GEGL Operation..."), NULL,
                 NULL, GIMP_HELP_TOOL_GEGL,
                 GIMP_ICON_GEGL,
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index a1848ff707..4bc5a5d516 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -684,7 +684,6 @@
       </menu>
       <menuitem action="tools-vector" />
       <menuitem action="tools-text" />
-      <menuitem action="tools-gegl" />
       <separator />
       <menuitem action="tools-color-picker" />
       <menuitem action="tools-measure" />
@@ -780,6 +779,7 @@
       <menu action="filters-generic-menu" name="Generic">
         <menuitem action="filters-convolution-matrix" />
         <menuitem action="filters-distance-map" />
+        <menuitem action="tools-gegl" />
         <menuitem action="filters-gegl-graph" />
         <menuitem action="filters-normal-map" />
         <menuitem action="filters-dilate" />


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