| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<interface domain="drawing"> |
| 3 |
|
| 4 |
<!-- For the menubar of any selection tool --> |
| 5 |
<!-- (the optionsbar uses a different model, in optionsbar-selection.ui) --> |
| 6 |
<menu id="options-menu"> |
| 7 |
<section> |
| 8 |
<item> |
| 9 |
<attribute name="label" translatable="yes">Select all</attribute> |
| 10 |
<attribute name="action">win.select_all</attribute> |
| 11 |
</item> |
| 12 |
<item> |
| 13 |
<attribute name="label" translatable="yes">Deselect</attribute> |
| 14 |
<attribute name="action">win.unselect</attribute> |
| 15 |
</item> |
| 16 |
<item> |
| 17 |
<attribute name="label" translatable="yes">Invert selection</attribute> |
| 18 |
<attribute name="action">win.selection_invert</attribute> |
| 19 |
<attribute name="hidden-when">action-missing</attribute> |
| 20 |
</item> |
| 21 |
<item> |
| 22 |
<attribute name="label" translatable="yes">Close selection</attribute> |
| 23 |
<attribute name="action">win.selection_close</attribute> |
| 24 |
</item> |
| 25 |
</section> |
| 26 |
<section> |
| 27 |
|
| 28 |
<submenu> |
| 29 |
<attribute name="label" translatable="yes">More actions</attribute> |
| 30 |
<section> |
| 31 |
<item> |
| 32 |
<attribute name="label" translatable="yes">Delete</attribute> |
| 33 |
<attribute name="action">win.selection_delete</attribute> |
| 34 |
<attribute name="verb-icon">edit-delete-symbolic</attribute> |
| 35 |
</item> |
| 36 |
<item> |
| 37 |
<attribute name="label" translatable="yes">Cut</attribute> |
| 38 |
<attribute name="action">win.selection_cut</attribute> |
| 39 |
<attribute name="verb-icon">edit-cut-symbolic</attribute> |
| 40 |
</item> |
| 41 |
<item> |
| 42 |
<attribute name="label" translatable="yes">Copy</attribute> |
| 43 |
<attribute name="action">win.selection_copy</attribute> |
| 44 |
<attribute name="verb-icon">edit-copy-symbolic</attribute> |
| 45 |
</item> |
| 46 |
</section> |
| 47 |
<section> |
| 48 |
<item> |
| 49 |
<attribute name="label" translatable="yes">Define as current image</attribute> |
| 50 |
<attribute name="action">win.selection-replace-canvas</attribute> |
| 51 |
</item> |
| 52 |
<item> |
| 53 |
<attribute name="label" translatable="yes">Expand image to fit</attribute> |
| 54 |
<attribute name="action">win.selection-expand-canvas</attribute> |
| 55 |
</item> |
| 56 |
</section> |
| 57 |
<section> |
| 58 |
<item> |
| 59 |
<attribute name="label" translatable="yes">Open As New Image</attribute> |
| 60 |
<attribute name="action">win.new_tab_selection</attribute> |
| 61 |
</item> |
| 62 |
<item> |
| 63 |
<attribute name="label" translatable="yes">Export as…</attribute> |
| 64 |
<attribute name="action">win.selection_export</attribute> |
| 65 |
</item> |
| 66 |
</section> |
| 67 |
</submenu> |
| 68 |
|
| 69 |
</section> |
| 70 |
<section> |
| 71 |
<attribute name="label" translatable="yes">Replace with…</attribute> |
| 72 |
<item> |
| 73 |
<attribute name="label" translatable="yes">Transparency</attribute> |
| 74 |
<attribute name="action">win.selection-color</attribute> |
| 75 |
<attribute name="target">alpha</attribute> |
| 76 |
</item> |
| 77 |
<item> |
| 78 |
<attribute name="label" translatable="yes">Default color</attribute> |
| 79 |
<attribute name="action">win.selection-color</attribute> |
| 80 |
<attribute name="target">initial</attribute> |
| 81 |
</item> |
| 82 |
<item> |
| 83 |
<attribute name="label" translatable="yes">Secondary color</attribute> |
| 84 |
<attribute name="action">win.selection-color</attribute> |
| 85 |
<attribute name="target">secondary</attribute> |
| 86 |
</item> |
| 87 |
<item> |
| 88 |
<attribute name="label" translatable="yes">Extract from this color</attribute> |
| 89 |
<attribute name="action">win.selection-extract</attribute> |
| 90 |
</item> |
| 91 |
</section> |
| 92 |
</menu> |
| 93 |
|
| 94 |
</interface> |
| 95 |
|