| 1 |
<?xml version="1.0"?> |
| 2 |
<interface domain="drawing"> |
| 3 |
|
| 4 |
<!-- Hamburger menu for smartphone --> |
| 5 |
<menu id="long-window-menu"> |
| 6 |
<section> |
| 7 |
<item> |
| 8 |
<attribute name="action">win.open</attribute> |
| 9 |
<attribute name="label" translatable="yes">Open an image</attribute> |
| 10 |
</item> |
| 11 |
</section> |
| 12 |
<section> |
| 13 |
<submenu id="new-image-menu"> |
| 14 |
<attribute name="label" translatable="yes">New Image</attribute> |
| 15 |
<section> |
| 16 |
<item> |
| 17 |
<attribute name="label" translatable="yes">New Blank Image</attribute> |
| 18 |
<attribute name="action">win.new_tab</attribute> |
| 19 |
</item> |
| 20 |
<item> |
| 21 |
<attribute name="label" translatable="yes">New Image With Custom Size</attribute> |
| 22 |
<attribute name="action">win.new_tab_custom</attribute> |
| 23 |
</item> |
| 24 |
<item> |
| 25 |
<attribute name="label" translatable="yes">New Image From Selection</attribute> |
| 26 |
<attribute name="action">win.new_tab_selection</attribute> |
| 27 |
</item> |
| 28 |
<item> |
| 29 |
<attribute name="label" translatable="yes">New Image From Clipboard</attribute> |
| 30 |
<attribute name="action">win.new_tab_clipboard</attribute> |
| 31 |
</item> |
| 32 |
</section> |
| 33 |
<section> |
| 34 |
<item> |
| 35 |
<attribute name="action">app.new_window</attribute> |
| 36 |
<attribute name="label" translatable="yes">New Window</attribute> |
| 37 |
</item> |
| 38 |
</section> |
| 39 |
</submenu> |
| 40 |
</section> |
| 41 |
<section> |
| 42 |
<attribute name="display-hint">horizontal-buttons</attribute> |
| 43 |
<item> |
| 44 |
<attribute name="label" translatable="yes">Reload file</attribute> |
| 45 |
<attribute name="action">win.reload_file</attribute> |
| 46 |
<attribute name="verb-icon">view-refresh-symbolic</attribute> |
| 47 |
</item> |
| 48 |
<item> |
| 49 |
<attribute name="label" translatable="yes">Image properties</attribute> |
| 50 |
<attribute name="action">win.properties</attribute> |
| 51 |
<attribute name="verb-icon">document-properties-symbolic</attribute> |
| 52 |
</item> |
| 53 |
<item> |
| 54 |
<attribute name="action">win.fullscreen</attribute> |
| 55 |
<attribute name="label" translatable="yes">Fullscreen</attribute> |
| 56 |
<attribute name="verb-icon">view-fullscreen-symbolic</attribute> |
| 57 |
</item> |
| 58 |
</section> |
| 59 |
<section id="save-section"> |
| 60 |
<item> |
| 61 |
<attribute name="action">win.save_alphaless</attribute> |
| 62 |
<attribute name="label" translatable="yes">Save without transparency</attribute> |
| 63 |
</item> |
| 64 |
<item> |
| 65 |
<!-- This "feature" is only visible on April Fools' day, and it --> |
| 66 |
<!-- will just rickroll the user. --> |
| 67 |
<attribute name="label" translatable="yes">Prepare as NFT…</attribute> |
| 68 |
<attribute name="action">app.april-fools</attribute> |
| 69 |
<attribute name="hidden-when">action-missing</attribute> |
| 70 |
</item> |
| 71 |
<item> |
| 72 |
<attribute name="action">win.save_as</attribute> |
| 73 |
<attribute name="label" translatable="yes">Save as…</attribute> |
| 74 |
</item> |
| 75 |
<item> |
| 76 |
<attribute name="label" translatable="yes">Export as…</attribute> |
| 77 |
<attribute name="action">win.export_as</attribute> |
| 78 |
</item> |
| 79 |
</section> |
| 80 |
<section id="share-section"> |
| 81 |
<item> |
| 82 |
<attribute name="action">win.to_clipboard</attribute> |
| 83 |
<attribute name="label" translatable="yes">Copy to clipboard</attribute> |
| 84 |
</item> |
| 85 |
<item> |
| 86 |
<attribute name="label" translatable="yes">Print</attribute> |
| 87 |
<attribute name="action">win.print</attribute> |
| 88 |
</item> |
| 89 |
</section> |
| 90 |
<section> |
| 91 |
<!-- <attribute name="display-hint">horizontal-buttons</attribute> --> |
| 92 |
<item> |
| 93 |
<attribute name="label" translatable="yes">Show tools names</attribute> |
| 94 |
<attribute name="action">win.show_labels</attribute> |
| 95 |
<attribute name="verb-icon">view-list-symbolic</attribute> |
| 96 |
</item> |
| 97 |
<!-- <item> --> |
| 98 |
<!-- <attribute name="label" translatable="yes">Dark theme variant</attribute> --> |
| 99 |
<!-- <attribute name="action">win.dark-variant</attribute> --> |
| 100 |
<!-- <attribute name="verb-icon">night-light-symbolic</attribute> --> |
| 101 |
<!-- </item> --> |
| 102 |
<item> |
| 103 |
<attribute name="label" translatable="yes">Preferences</attribute> |
| 104 |
<attribute name="action">app.settings</attribute> |
| 105 |
<attribute name="verb-icon">preferences-system-symbolic</attribute> |
| 106 |
</item> |
| 107 |
</section> |
| 108 |
<section> |
| 109 |
<item> |
| 110 |
<attribute name="label" translatable="yes">Shortcuts</attribute> |
| 111 |
<attribute name="action">app.shortcuts</attribute> |
| 112 |
</item> |
| 113 |
<item> |
| 114 |
<attribute name="action">app.help</attribute> |
| 115 |
<attribute name="label" translatable="yes">Help</attribute> |
| 116 |
</item> |
| 117 |
<item> |
| 118 |
<attribute name="label" translatable="yes">About Drawing</attribute> |
| 119 |
<attribute name="action">app.about</attribute> |
| 120 |
</item> |
| 121 |
</section> |
| 122 |
</menu> |
| 123 |
|
| 124 |
<!-- Hamburger menu for desktop --> |
| 125 |
<menu id="short-window-menu"> |
| 126 |
<section> |
| 127 |
<attribute name="display-hint">horizontal-buttons</attribute> |
| 128 |
<item> |
| 129 |
<attribute name="label" translatable="yes">Reload file</attribute> |
| 130 |
<attribute name="action">win.reload_file</attribute> |
| 131 |
<attribute name="verb-icon">view-refresh-symbolic</attribute> |
| 132 |
</item> |
| 133 |
<item> |
| 134 |
<attribute name="label" translatable="yes">Image properties</attribute> |
| 135 |
<attribute name="action">win.properties</attribute> |
| 136 |
<attribute name="verb-icon">document-properties-symbolic</attribute> |
| 137 |
</item> |
| 138 |
<item> |
| 139 |
<attribute name="action">win.fullscreen</attribute> |
| 140 |
<attribute name="label" translatable="yes">Fullscreen</attribute> |
| 141 |
<attribute name="verb-icon">view-fullscreen-symbolic</attribute> |
| 142 |
</item> |
| 143 |
</section> |
| 144 |
<section> |
| 145 |
<item> |
| 146 |
<attribute name="action">win.save_alphaless</attribute> |
| 147 |
<attribute name="label" translatable="yes">Save without transparency</attribute> |
| 148 |
</item> |
| 149 |
<item> |
| 150 |
<!-- This "feature" is only visible on April Fools' day, and it --> |
| 151 |
<!-- will just rickroll the user. --> |
| 152 |
<attribute name="label" translatable="yes">Prepare as NFT…</attribute> |
| 153 |
<attribute name="action">app.april-fools</attribute> |
| 154 |
<attribute name="hidden-when">action-missing</attribute> |
| 155 |
</item> |
| 156 |
<item> |
| 157 |
<attribute name="action">win.save_as</attribute> |
| 158 |
<attribute name="label" translatable="yes">Save as…</attribute> |
| 159 |
</item> |
| 160 |
<item> |
| 161 |
<attribute name="label" translatable="yes">Export as…</attribute> |
| 162 |
<attribute name="action">win.export_as</attribute> |
| 163 |
</item> |
| 164 |
</section> |
| 165 |
<section id="share-section"> |
| 166 |
<item> |
| 167 |
<attribute name="action">win.to_clipboard</attribute> |
| 168 |
<attribute name="label" translatable="yes">Copy to clipboard</attribute> |
| 169 |
</item> |
| 170 |
<item> |
| 171 |
<attribute name="label" translatable="yes">Print</attribute> |
| 172 |
<attribute name="action">win.print</attribute> |
| 173 |
</item> |
| 174 |
</section> |
| 175 |
<section> |
| 176 |
<item> |
| 177 |
<attribute name="label" translatable="yes">Show tools names</attribute> |
| 178 |
<attribute name="action">win.show_labels</attribute> |
| 179 |
</item> |
| 180 |
<!-- <item> --> |
| 181 |
<!-- <attribute name="label" translatable="yes">Dark theme variant</attribute> --> |
| 182 |
<!-- <attribute name="action">win.dark-variant</attribute> --> |
| 183 |
<!-- </item> --> |
| 184 |
<item> |
| 185 |
<attribute name="label" translatable="yes">Preferences</attribute> |
| 186 |
<attribute name="action">app.settings</attribute> |
| 187 |
</item> |
| 188 |
</section> |
| 189 |
<section> |
| 190 |
<item> |
| 191 |
<attribute name="label" translatable="yes">Shortcuts</attribute> |
| 192 |
<attribute name="action">app.shortcuts</attribute> |
| 193 |
</item> |
| 194 |
<item> |
| 195 |
<attribute name="action">app.help</attribute> |
| 196 |
<attribute name="label" translatable="yes">Help</attribute> |
| 197 |
</item> |
| 198 |
<item> |
| 199 |
<attribute name="label" translatable="yes">About Drawing</attribute> |
| 200 |
<attribute name="action">app.about</attribute> |
| 201 |
</item> |
| 202 |
</section> |
| 203 |
</menu> |
| 204 |
|
| 205 |
<!-- Hamburger menu for layouts with a more rich toolbar --> |
| 206 |
<menu id="minimal-window-menu"> |
| 207 |
<section> |
| 208 |
<item> |
| 209 |
<attribute name="label" translatable="yes">Reload file</attribute> |
| 210 |
<attribute name="action">win.reload_file</attribute> |
| 211 |
<attribute name="verb-icon">view-refresh-symbolic</attribute> |
| 212 |
</item> |
| 213 |
<item> |
| 214 |
<attribute name="label" translatable="yes">Image properties</attribute> |
| 215 |
<attribute name="action">win.properties</attribute> |
| 216 |
<attribute name="verb-icon">document-properties-symbolic</attribute> |
| 217 |
</item> |
| 218 |
<item> |
| 219 |
<attribute name="action">win.fullscreen</attribute> |
| 220 |
<attribute name="label" translatable="yes">Fullscreen</attribute> |
| 221 |
<attribute name="verb-icon">view-fullscreen-symbolic</attribute> |
| 222 |
</item> |
| 223 |
</section> |
| 224 |
<section> |
| 225 |
<item> |
| 226 |
<attribute name="label" translatable="yes">Show tools names</attribute> |
| 227 |
<attribute name="action">win.show_labels</attribute> |
| 228 |
</item> |
| 229 |
<!-- <item> --> |
| 230 |
<!-- <attribute name="label" translatable="yes">Dark theme variant</attribute> --> |
| 231 |
<!-- <attribute name="action">win.dark-variant</attribute> --> |
| 232 |
<!-- </item> --> |
| 233 |
<item> |
| 234 |
<attribute name="label" translatable="yes">Preferences</attribute> |
| 235 |
<attribute name="action">app.settings</attribute> |
| 236 |
</item> |
| 237 |
</section> |
| 238 |
<section> |
| 239 |
<item> |
| 240 |
<attribute name="label" translatable="yes">Shortcuts</attribute> |
| 241 |
<attribute name="action">app.shortcuts</attribute> |
| 242 |
</item> |
| 243 |
<item> |
| 244 |
<attribute name="action">app.help</attribute> |
| 245 |
<attribute name="label" translatable="yes">Help</attribute> |
| 246 |
</item> |
| 247 |
<item> |
| 248 |
<attribute name="label" translatable="yes">About Drawing</attribute> |
| 249 |
<attribute name="action">app.about</attribute> |
| 250 |
</item> |
| 251 |
</section> |
| 252 |
</menu> |
| 253 |
|
| 254 |
</interface> |
| 255 |
|