gimp/menus/colormap-menu.ui
Anders Jonsson 0d512085f3 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.
2024-03-08 17:48:38 +00:00

20 lines
1,000 B
XML

<?xml version="1.0" encoding="utf-8"?>
<interface>
<menu id="/colormap-popup">
<submenu>
<attribute name="label" translatable="yes" context="colormap-action">Colormap Menu</attribute>
<item><attribute name="action">colormap.colormap-edit-color</attribute></item>
<item><attribute name="action">colormap.colormap-delete-color</attribute></item>
<item><attribute name="action">colormap.colormap-add-color-from-fg</attribute></item>
<item><attribute name="action">colormap.colormap-add-color-from-bg</attribute></item>
<section>
<item><attribute name="action">colormap.colormap-selection-replace</attribute></item>
<item><attribute name="action">colormap.colormap-selection-add</attribute></item>
<item><attribute name="action">colormap.colormap-selection-subtract</attribute></item>
<item><attribute name="action">colormap.colormap-selection-intersect</attribute></item>
</section>
</submenu>
</menu>
</interface>