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

@ -183,7 +183,7 @@ class PaletteToGradient (Gimp.PlugIn):
procedure.add_argument_from_property(self, "palette")
procedure.add_return_value_from_property(self, "new-gradient")
procedure.add_menu_path ('<Palettes>')
procedure.add_menu_path ('<Palettes>/Palettes Menu')
return procedure