mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-23 04:51:44 +00:00
91195e8593
Instead, keep around a GimpFilteredContainer in GimpToolInfo that maintains a per-tool list of presets from the global preset factory. Turn the tool options dialog's preset Save/Restore/Edit/Delete menus and buttons into shortcuts for managing the active tool's presets.
18 lines
605 B
XML
18 lines
605 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!DOCTYPE ui SYSTEM "gtkuimanager.dtd">
|
|
|
|
<ui>
|
|
<popup action="tool-options-popup">
|
|
<menu action="tool-options-save-preset-menu" name="Save">
|
|
<menuitem action="tool-options-save-new-preset" />
|
|
<separator />
|
|
</menu>
|
|
<menu action="tool-options-restore-preset-menu" name="Restore" />
|
|
<menu action="tool-options-edit-preset-menu" name="Edit" />
|
|
<menu action="tool-options-delete-preset-menu" name="Delete" />
|
|
<separator />
|
|
<menuitem action="tool-options-reset" />
|
|
<menuitem action="tool-options-reset-all" />
|
|
</popup>
|
|
</ui>
|