menus: move menus to submenus of tab menu

Fixes #9883

    There were menus that put their entries
    directly in the tab menu rather than in a submenu.

    This moves them to submenus to bring back GIMP 2.10 behavior.

    Stray entries added by scripts are also moved to the right
    submenu.
This commit is contained in:
Anders Jonsson
2024-02-25 00:13:01 +01:00
committed by Jacob Boerema
parent 08c1fdc719
commit 0d512085f3
19 changed files with 126 additions and 90 deletions

View File

@ -218,7 +218,7 @@ class GradientsSaveAsCSS (Gimp.PlugIn):
procedure.set_attribution("Joao S. O. Bueno",
"(c) GPL V3.0 or later",
"2011")
procedure.add_menu_path('<Gradients>')
procedure.add_menu_path('<Gradients>/Gradients Menu')
procedure.add_argument_from_property(self, "run-mode")
procedure.add_argument_from_property(self, "gradient")