gimp/menus/undo-menu.ui
Jehan b1f022f144 app, menus: now support the child menu of the GimpDockbook menu.
I only translated the undo menu into GtkBuilder's .ui format for now.
The only missing part is that the icon is now shown.

Note that in various parts, I don't rely anymore on a bogus menu action (i.e.
"undo-popup" action in this case) which does nothing but has an associated label
and icon. I simply add the label and icon as submenu attribute directly in the
.ui file, which is translatable and whose strings should be parsed by gettext.

Eventually I'll just get rid of all the various "*-popup" or "*-menu" bogus
actions.
2023-04-12 22:07:08 +02:00

13 lines
498 B
XML

<?xml version="1.0" encoding="utf-8"?>
<interface>
<menu id="/undo-popup">
<submenu>
<attribute name="label" translatable="yes" context="edit-action">Undo History Menu</attribute>
<attribute name="icon">edit-undo</attribute>
<item><attribute name="action">app.edit-undo</attribute></item>
<item><attribute name="action">app.edit-redo</attribute></item>
<item><attribute name="action">app.edit-undo-clear</attribute></item>
</submenu>
</menu>
</interface>