/usr/share/mypaint/gui/resources.xml is in mypaint 1.2.0-4.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 | <!-- {{{ Defines most of the actions accessible via the menus
This file is part of MyPaint.
Copyright (C) 2015 by Andrew Chadwick <a.t.chadwick@gmail.com>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
}}} -->
<interface>
<!--{{{ Naming Scheme for Labels and Tooltips
General
* Use Unicode, not ASCII
* Ellipsis (…), not three full stops (...).
* Curly apostrophe (’), not typewriter apostrophe (').
* Use curly quotes (‘’ and “”), not typewriter ones.
* Use en_US spellings.
Labels
* Typically <verb> [<target>]
* Title case, imperitive mood "Open Brush…", "New Curve", etc.
- No trailing full stop.
- Trailing ellipsis if immediate user input is needed to complete the action.
- If the object of the action is the main canvas, omit the target
- Similarly, omit "current" or "active" if it's not confusing.
- (You can probably omit the article "the" too, in this case)
Tooltips
* Don't just repeat the label with more verbage. Explain it.
* Imperative mood,
* Sentence case, with a trailing full stop.
* Use Unicode, not ASCII
* The accel map editor only shows an action if it has a tooltip.
* (Omit tooltips on things like the entry we need for a submenu)
* The "tooltip" field is really mostly used for tthe accel map editor now.
* Menu items don't really have tooltips, so menu paths to tooltips can be omitted from the context.
Vocabulary
* "Canvas": a document, treated as a surface to work on (="Page")
* "[Your] work": a document, treated as what the user has done.
* "Brush Shortcut Key": memory slots for brushes accessible via keypress
- sometimes referred to as "contexts" in old names
* "Painting Color": the color used for painting.
* "Paint Mode": the brush blend mode, how pixels are applied.
* "Dockable panel": widget that can be docked into a sidebar or split out.
}}}-->
<object class="GtkUIManager" id="app_ui_manager">
<ui/>
<!-- {{{ FileActions: document loading and saving -->
<child>
<object class="GtkActionGroup" id="FileActions">
<child>
<object class="GtkAction" id="New">
<property name="icon-name">mypaint-document-new-symbolic</property>
<property name="label" translatable="yes" context="Menu→File (labels), Accel Editor (labels)">New</property>
<property name="short-label" translatable="yes" context="Toolbar (short labels)">New</property>
<property name="tooltip" translatable="yes" context="Toolbar (tooltips), Accel Editor (descriptions)">Start with a new blank canvas.</property>
<signal name="activate" handler="new_cb"/>
</object>
<accelerator key="n" modifiers="GDK_CONTROL_MASK"/>
</child>
<child>
<object class="GtkAction" id="Open">
<property name="icon-name">mypaint-document-open-symbolic</property>
<property name="label" translatable="yes" context="Menu→File (labels), Accel Editor (labels)">Open…</property>
<property name="short-label" translatable="yes" context="Toolbar (short labels)">Open</property>
<property name="tooltip" translatable="yes" context="Toolbar (tooltips), Accel Editor (descriptions)">Load a file to work on.</property>
<signal name="activate" handler="open_cb"/>
</object>
<accelerator key="o" modifiers="GDK_CONTROL_MASK"/>
</child>
<child>
<object class="GtkAction" id="OpenLast">
<property name="label" translatable="yes" context="Menu→File (labels), Accel Editor (labels)">Open Most Recent</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Load the file you saved most recently.</property>
<signal name="activate" handler="open_last_cb"/>
</object>
<accelerator key="F3"/>
</child>
<child>
<object class="GtkRecentAction" id="OpenRecent">
<property name="label" translatable="yes" context="Menu→File (labels)">Open Recent</property>
<!-- NO TOOTIP: this is a submenu -->
<property name="icon-name">mypaint-history-symbolic</property>
<signal name="item-activated" handler="open_recent_cb"/>
<property name="show-numbers">1</property>
<property name="show-tips">1</property>
<property name="show-tips">1</property>
<property name="sort-type">GTK_RECENT_SORT_MRU</property>
</object>
</child>
<child>
<object class="GtkAction" id="Reload">
<property name="icon-name">mypaint-document-revert-symbolic</property>
<property name="label" translatable="yes" context="Menu→File (labels), Accel Editor (labels)">Revert</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Reload the file your current work was loaded from.</property>
<signal name="activate" handler="reload_cb"/>
</object>
<accelerator key="F5"/>
</child>
<child>
<object class="GtkAction" id="Save">
<property name="icon-name">mypaint-document-save-symbolic</property>
<property name="label" translatable="yes" context="Menu→File (labels), Accel Editor (labels)">Save</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Save your work to a file.</property>
<signal name="activate" handler="save_cb"/>
</object>
<accelerator key="s" modifiers="GDK_CONTROL_MASK"/>
</child>
<child>
<object class="GtkAction" id="SaveAs">
<property name="icon-name">mypaint-document-save-as-symbolic</property>
<property name="label" translatable="yes" context="Menu→File (labels), Accel Editor (labels)">Save As…</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Save your work to a file, assigning it a new name.</property>
<signal name="activate" handler="save_as_cb"/>
</object>
<accelerator key="s" modifiers="GDK_CONTROL_MASK | GDK_SHIFT_MASK"/>
</child>
<child>
<object class="GtkAction" id="Export">
<property name="icon-name">mypaint-document-export-symbolic</property>
<property name="label" translatable="yes" context="Menu→File (labels), Accel Editor (labels)">Export…</property>
<property name="tooltip" translatable="yes">Export your work to a file, but keep working on the same file.</property>
<signal name="activate" handler="save_as_cb"/>
</object>
<accelerator key="e" modifiers="GDK_CONTROL_MASK | GDK_SHIFT_MASK"/>
</child>
<child>
<object class="GtkAction" id="SaveScrap">
<property name="icon-name">mypaint-scrap-save-symbolic</property>
<property name="label" translatable="yes" context="Menu→File (labels), Accel Editor (labels)">Save As Scrap</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Save to a new scrap file, or save a new revision if already a scrap.</property>
<signal name="activate" handler="save_scrap_cb"/>
</object>
<accelerator key="F2"/>
</child>
<child>
<object class="GtkAction" id="PrevScrap">
<property name="icon-name">mypaint-scrap-prev-symbolic</property>
<property name="label" translatable="yes" context="Menu→File (labels), Accel Editor (labels)">Open Previous Scrap</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Load the scrap file before the current one.</property>
<signal name="activate" handler="open_scrap_cb"/>
</object>
<accelerator key="F6"/>
</child>
<child>
<object class="GtkAction" id="NextScrap">
<property name="icon-name">mypaint-scrap-next-symbolic</property>
<property name="label" translatable="yes" context="Menu→File (labels), Accel Editor (labels)">Open Next Scrap</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Load the scrap file after the current one.</property>
<signal name="activate" handler="open_scrap_cb"/>
</object>
<accelerator key="F7"/>
</child>
<child>
<object class="GtkAction" id="RecoverAutosavedBackup">
<property name="icon-name">mypaint-history-symbolic</property>
<property name="label" translatable="yes" context="Menu→File (labels), Accel Editor (labels)">Recover File from an Automated Backup…</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Try to save and resume interrupted unsaved work.</property>
<signal name="activate" handler="autorecover_cb"/>
</object>
</child>
</object>
</child>
<!-- }}} -->
<!-- {{{ DocumentActions: actions affecting the current document -->
<child>
<object class="GtkActionGroup" id="DocumentActions">
<!-- {{{ Factory actions: dynamic buttons or menu items with submenus -->
<!-- Brushes and brush groups: defined in gui.brushselectionwindow -->
<child>
<object class="MyPaintFactoryAction" id="BrushGroups">
<property name="label" translatable="yes" context="Menu→Brush (label)">Brush Groups</property>
<property name="short-label" translatable="yes" context="Toolbar (short labels)">Brushes</property>
<property name="tooltip" translatable="yes" context="Toolbar (tooltips)">List of brush groups.</property>
<property name="icon-name">mypaint-brushes-symbolic</property>
</object>
</child>
<!-- List of available color adjusters -->
<child>
<object class="MyPaintFactoryAction" id="ColorAdjusters">
<property name="label" translatable="yes" context="Toolbar (label)">Color Adjusters</property>
<property name="short-label" translatable="yes" context="Toolbar (short labels)">Colors</property>
<property name="tooltip" translatable="yes" context="Toolbar (tooltips)">Available color adjusters.</property>
<property name="icon-name">mypaint-colors-symbolic</property>
</object>
</child>
<!-- Layer modes: defined in gui.layermodes -->
<child>
<object class="MyPaintFactoryAction" id="LayerMode">
<property name="label" translatable="yes" context="Menu→Layer→Properties (label)">Mode</property>
<property name="short-label" translatable="yes" context="Toolbar (short labels)">Mode</property>
<property name="tooltip" translatable="yes" context="Toolbar (tooltips)">The current layer's compositing mode.</property>
<property name="icon-name">mypaint-compositing-symbolic</property>
</object>
</child>
<!-- }}} -->
<!-- {{{ Undo stack actions -->
<child>
<object class="GtkAction" id="Undo">
<property name="icon_name">mypaint-undo-ltr-symbolic</property>
<!-- Code in document.py takes care of ltr/rtl details -->
<signal name="activate" handler="undo_cb"/>
</object>
<accelerator key="z"/>
</child>
<child>
<object class="GtkAction" id="Redo">
<property name="icon_name">mypaint-redo-ltr-symbolic</property>
<!-- Code in document.py takes care of ltr/rtl details -->
<signal name="activate" handler="redo_cb"/>
</object>
<accelerator key="y"/>
</child>
<!--}}} -->
<!--{{{ Brush modifications -->
<!-- Brush size -->
<child>
<object class="GtkAction" id="Bigger">
<property name="label" translatable="yes" context="Menu→Brush (labels), Accel Editor (labels)">Increase Brush Size</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Make the working brush bigger.</property>
<signal name="activate" handler="brush_bigger_cb"/>
</object>
<accelerator key="f"/>
</child>
<child>
<object class="GtkAction" id="Smaller">
<property name="label" translatable="yes" context="Menu→Brush (labels), Accel Editor (labels)">Decrease Brush Size</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Make the working brush smaller.</property>
<signal name="activate" handler="brush_smaller_cb"/>
</object>
<accelerator key="d"/>
</child>
<!-- Brush opacity -->
<child>
<object class="GtkAction" id="MoreOpaque">
<property name="label" translatable="yes" context="Menu→Brush (labels), Accel Editor (labels)">Increase Brush Opacity</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Make the working brush more opaque.</property>
<signal name="activate" handler="more_opaque_cb"/>
</object>
<accelerator key="s"/>
</child>
<child>
<object class="GtkAction" id="LessOpaque">
<property name="label" translatable="yes" context="Menu→Brush (labels), Accel Editor (labels)">Decrease Brush Opacity</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Make the working brush less opaque.</property>
<signal name="activate" handler="less_opaque_cb"/>
</object>
<accelerator key="a"/>
</child>
<!-- Brush painting color -->
<child>
<object class="GtkAction" id="Brighter">
<property name="label" translatable="yes" context="Menu→Color→Adjust Color (labels), Accel Editor (labels)">Lighten Painting Color</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Increase the lightness of the current painting color.</property>
<signal name="activate" handler="brighter_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="Darker">
<property name="label" translatable="yes" context="Menu→Color→Adjust Color (labels), Accel Editor (labels)">Darken Painting Color</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Decrease the lightness of the current painting color.</property>
<signal name="activate" handler="darker_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="IncreaseHue">
<property name="label" translatable="yes" context="Menu→Color→Adjust Color (labels), Accel Editor (labels)">Change Hue Anticlockwise</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Rotate the painting color’s hue anticlockwise on the color wheel.</property>
<signal name="activate" handler="increase_hue_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="DecreaseHue">
<property name="label" translatable="yes" context="Menu→Color→Adjust Color (labels), Accel Editor (labels)">Change Hue Clockwise</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Rotate the painting color’s hue clockwise on the color wheel.</property>
<signal name="activate" handler="decrease_hue_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="Purer">
<property name="label" translatable="yes" context="Menu→Color→Adjust Color (labels), Accel Editor (labels)">Increase Saturation</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Make the painting color more saturated (more colorful, purer).</property>
<signal name="activate" handler="purer_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="Grayer">
<property name="label" translatable="yes" context="Menu→Color→Adjust Color (labels), Accel Editor (labels)">Decrease Saturation</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Make the painting color less saturated (grayer).</property>
<signal name="activate" handler="grayer_cb"/>
</object>
</child>
<!-- Resetting -->
<child>
<object class="GtkAction" id="BrushReload">
<property name="label" translatable="yes" context="Menu→Brush (labels), Accel Editor (labels)">Reload Brush Settings</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Restore all brush settings to the current brush’s saved values.</property>
<signal name="activate" handler="brush_reload_cb"/>
<property name="icon-name">mypaint-clear-all-symbolic</property>
</object>
</child>
<!-- }}} -->
<!--{{{ Picking strokes -->
<child>
<object class="GtkAction" id="PickContext">
<property name="label" translatable="yes" context="Menu→Brush (labels), Accel Editor (labels)">Pick Stroke and Layer</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Pick a brushstroke from the canvas: restores brush, color, and layer.</property>
<property name="icon-name">mypaint-target-symbolic</property>
<signal name="activate" handler="pick_context_cb"/>
</object>
<accelerator key="w"/>
</child>
<!-- }}} -->
<!--{{{ Brush shortcut keys -->
<!-- More actions are added by doc.init_context_actions() -->
<child>
<object class="GtkToggleAction" id="ContextRestoreColor">
<property name="label" translatable="yes" context="Menu→Brush→Shortcut Keys (labels), Accel Editor (labels)">Brush Shortcut Keys Restore Color</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Toggle whether restoring the brush from a shortcut key also restores the saved color.</property>
<signal name="activate" handler="context_toggle_color_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="ContextStore">
<property name="label" translatable="yes" context="Menu→Brush→Shortcut Keys (labels), Accel Editor (labels)">Save Brush to Most Recent Shortcut Key</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Save brush settings to the most recently used shortcut key.</property>
<signal name="activate" handler="context_cb"/>
</object>
<accelerator key="q"/>
</child>
<!--}}} -->
<!--{{{ Layer stack manipulation -->
<child>
<object class="GtkAction" id="ClearLayer">
<property name="icon-name">mypaint-clear-all-symbolic</property>
<property name="label" translatable="yes" context="Menu→Layer (labels), Accel Editor (labels)">Clear Layer</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Clear the current layer’s content.</property>
<signal name="activate" handler="clear_layer_cb"/>
</object>
<accelerator key="Delete"/>
</child>
<child>
<object class="GtkAction" id="TrimLayer">
<property name="label" translatable="yes" context="Menu→Layer (labels), Accel Editor (labels)">Trim Layer to Frame</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Erase parts of the current layer which lie outside the frame.</property>
<signal name="activate" handler="trim_layer_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="CopyLayer">
<property name="icon-name">mypaint-copy-symbolic</property>
<property name="label" translatable="yes" context="Menu→Layer (labels), Accel Editor (labels)">Copy Layer to Clipboard</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Copy the current layer’s contents to the clipboard.</property>
<signal name="activate" handler="copy_cb"/>
</object>
<accelerator key="c" modifiers="GDK_CONTROL_MASK"/>
</child>
<child>
<object class="GtkAction" id="PasteLayer">
<property name="icon-name">mypaint-paste-symbolic</property>
<property name="label" translatable="yes" context="Menu→Layer (labels), Accel Editor (labels)">Paste Layer from Clipboard</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Replaces the current layer with the clipboard’s contents.</property>
<signal name="activate" handler="paste_cb"/>
</object>
<accelerator key="v" modifiers="GDK_CONTROL_MASK"/>
</child>
<child>
<object class="GtkAction" id="BeginExternalLayerEdit">
<property name="label" translatable="yes" context="Menu→Layer (labels), Accel Editor (labels)">Edit Layer in External App…</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Begin editing the current layer in an external application.</property>
<signal name="activate" handler="begin_external_layer_edit_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="CommitExternalLayerEdit">
<property name="label" translatable="yes" context="Menu→Layer (labels), Accel Editor (labels)">Update Layer with External Edits</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Commit changes saved from the external app (normally automatic).</property>
<signal name="activate" handler="commit_external_layer_edit_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="PickLayer">
<property name="label" translatable="yes" context="Menu→Layer→Go to Layer (labels), Accel Editor (labels)">Go to Layer at Cursor</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Select a layer by picking an object on it.</property>
<signal name="activate" handler="pick_layer_cb"/>
</object>
<accelerator key="h"/>
</child>
<child>
<object class="GtkAction" id="SelectLayerAbove">
<property name="icon-name">mypaint-layer-above-symbolic</property>
<property name="label" translatable="yes" context="Menu→Layer→Go to Layer (labels), Accel Editor (labels)">Go to Layer Above</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Go one layer up in the layer stack.</property>
<signal name="activate" handler="select_layer_above_cb"/>
</object>
<accelerator key="Page_Up"/>
</child>
<child>
<object class="GtkAction" id="SelectLayerBelow">
<property name="icon-name">mypaint-layer-below-symbolic</property>
<property name="label" translatable="yes" context="Menu→Layer→Go to Layer (labels), Accel Editor (labels)">Go to Layer Below</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Go one layer down in the layer stack.</property>
<signal name="activate" handler="select_layer_below_cb"/>
</object>
<accelerator key="Page_Down"/>
</child>
<child>
<object class="GtkAction" id="NewPaintingLayerAbove">
<property name="icon-name">mypaint-layer-new-symbolic</property>
<property name="label" translatable="yes" context="Menu→Layer (labels), Accel Editor (labels)">New Painting Layer</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Add a new painting layer above the current layer.</property>
<signal name="activate" handler="new_layer_cb"/>
</object>
<accelerator key="Page_Up" modifiers="GDK_CONTROL_MASK"/>
</child>
<child>
<object class="GtkAction" id="NewVectorLayerAbove">
<property name="icon-name">mypaint-layer-vector-symbolic</property>
<property name="label" translatable="yes" context="Menu→Layer (labels), Accel Editor (labels)">New Vector Layer…</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Add a new vector layer above the current layer, and begin editing it.</property>
<signal name="activate" handler="new_layer_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="NewLayerGroupAbove">
<property name="icon-name">mypaint-layer-group-new-symbolic</property>
<property name="label" translatable="yes" context="Menu→Layer (labels), Accel Editor (labels)">New Layer Group</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Add a new layer group above the current layer.</property>
<signal name="activate" handler="new_layer_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="NewPaintingLayerBelow">
<property name="label" translatable="yes" context="Menu→Layer (labels), Accel Editor (labels)">New Painting Layer Below</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Add a new painting layer below the current layer.</property>
<signal name="activate" handler="new_layer_cb"/>
</object>
<accelerator key="Page_Down" modifiers="GDK_CONTROL_MASK"/>
</child>
<child>
<object class="GtkAction" id="NewVectorLayerBelow">
<property name="label" translatable="yes" context="Menu→Layer (labels), Accel Editor (labels)">New Vector Layer Below…</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Add a new vector layer below the current layer, and begin editing it.</property>
<signal name="activate" handler="new_layer_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="NewLayerGroupBelow">
<property name="label" translatable="yes" context="Menu→Layer (labels), Accel Editor (labels)">New Layer Group Below</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Add a new layer group below the current layer.</property>
<signal name="activate" handler="new_layer_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="MergeLayerDown">
<property name="icon-name">mypaint-layer-merge-down-symbolic</property>
<property name="label" translatable="yes" context="Menu→Layer (labels), Accel Editor (labels)">Merge Layer Down</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Merge the current layer with the layer beneath it.</property>
<signal name="activate" handler="merge_layer_down_cb"/>
</object>
<accelerator key="Delete" modifiers="GDK_CONTROL_MASK"/>
</child>
<child>
<object class="GtkAction" id="MergeVisibleLayers">
<property name="label" translatable="yes" context="Menu→Layer (labels), Accel Editor (labels)">Merge Visible Layers</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Consolidate all visible layers, and delete the originals.</property>
<signal name="activate" handler="merge_visible_layers_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="NewLayerMergedFromVisible">
<property name="label" translatable="yes" context="Menu→Layer (labels), Accel Editor (labels)">New Layer from Visible</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Like ‘Merge Visible Layers’, but doesn’t delete the originals.</property>
<signal name="activate" handler="new_layer_merged_from_visible_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="RemoveLayer">
<property name="icon-name">mypaint-layer-delete-symbolic</property>
<property name="label" translatable="yes" context="Menu→Layer (labels), Accel Editor (labels)">Delete Layer</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Remove the current layer from the layer stack.</property>
<signal name="activate" handler="remove_layer_cb"/>
</object>
<accelerator key="Delete" modifiers="GDK_SHIFT_MASK"/>
</child>
<child>
<object class="GtkAction" id="NormalizeLayerMode">
<property name="label" translatable="yes" context="Menu→Layer (labels), Accel Editor (labels)">Convert to Normal Painting Layer</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Convert the current layer or group to a painting layer in ‘Normal’ mode, preserving its appearance.</property>
<signal name="activate" handler="normalize_layer_mode_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="IncreaseLayerOpacity">
<property name="label" translatable="yes" context="Menu→Layer→Opacity (labels), Accel Editor (labels)">Increase Layer’s Opacity</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Make the layer less transparent.</property>
<signal name="activate" handler="layer_increase_opacity"/>
</object>
<accelerator key="p" modifiers="GDK_SHIFT_MASK|GDK_CONTROL_MASK"/>
</child>
<child>
<object class="GtkAction" id="DecreaseLayerOpacity">
<property name="label" translatable="yes" context="Menu→Layer→Opacity (labels), Accel Editor (labels)">Reduce Layer’s Opacity</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Make the layer more transparent.</property>
<signal name="activate" handler="layer_decrease_opacity"/>
</object>
<accelerator key="o" modifiers="GDK_SHIFT_MASK|GDK_CONTROL_MASK"/>
</child>
<child>
<object class="GtkAction" id="RaiseLayerInStack">
<property name="label" translatable="yes" context="Menu→Layer (labels), Accel Editor (labels)">Raise Layer</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Raise the current layer one step in the layer stack.</property>
<property name="icon-name">mypaint-layer-raise-symbolic</property>
<signal name="activate" handler="reorder_layer_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="LowerLayerInStack">
<property name="label" translatable="yes" context="Menu→Layer (labels), Accel Editor (labels)">Lower Layer</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Lower the current layer one step in the layer stack.</property>
<property name="icon-name">mypaint-layer-lower-symbolic</property>
<signal name="activate" handler="reorder_layer_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="DuplicateLayer">
<property name="label" translatable="yes" context="Menu→Layer (labels), Accel Editor (labels)">Duplicate Layer</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Make an exact clone of the current layer.</property>
<property name="icon-name">mypaint-duplicate-symbolic</property>
<signal name="activate" handler="duplicate_layer_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="RenameLayer">
<property name="label" translatable="yes" context="Menu→Layer (labels), Accel Editor (labels)">Rename Layer…</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Enter a new name for the current layer.</property>
<signal name="activate" handler="rename_layer_cb"/>
</object>
</child>
<child>
<object class="GtkToggleAction" id="LayerLockedToggle">
<property name="label" translatable="yes" context="Menu→Layer (labels), Accel Editor (labels)">Layer Locked</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Toggle the current layer’s locked state. Locked layers cannot be modified.</property>
<signal name="activate" handler="layer_lock_toggle_cb"/>
</object>
</child>
<child>
<object class="GtkToggleAction" id="LayerVisibleToggle">
<property name="label" translatable="yes" context="Menu→Layer (labels), Accel Editor (labels)">Layer Visible</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Toggle the current layer’s visibility state, making it hidden.</property>
<signal name="activate" handler="layer_visible_toggle_cb"/>
</object>
</child>
<child>
<object class="GtkToggleAction" id="ShowBackgroundToggle">
<property name="label" translatable="yes" context="Menu→View (labels), Accel Editor (labels)">Show Background</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Toggle the background layer’s visibility.</property>
<signal name="activate" handler="show_background_toggle_cb"/>
</object>
</child>
<!-- }}} -->
<!-- {{{ View manipulation -->
<child>
<object class="GtkAction" id="ResetView">
<property name="icon-name">mypaint-view-100-symbolic</property>
<property name="label" translatable="yes" context="Menu→View (labels), Accel Editor (labels)">Reset and Center View</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Reset Zoom, Rotation and Mirroring, and recenter the document.</property>
<signal name="activate" handler="reset_view_cb"/>
</object>
<accelerator key="F12"/>
</child>
<child>
<object class="GtkToggleAction" id="FitView">
<property name="icon-name">mypaint-view-fit-symbolic</property>
<property name="label" translatable="yes" context="Menu→View (labels), Accel Editor (labels)">Fit to View</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Switch between a fitted view and your working location and zoom.</property>
<signal name="activate" handler="fit_view_toggled_cb"/>
</object>
<accelerator key="F10"/>
</child>
<child>
<object class="GtkAction" id="ResetMenu">
<property name="label" translatable="yes" context="Menu→View (labels)">Reset</property>
<!-- NO TOOLTIP: this is a menu -->
</object>
</child>
<child>
<object class="GtkAction" id="ResetZoom">
<property name="icon-name">mypaint-view-100-symbolic</property>
<property name="label" translatable="yes" context="Menu→View→Reset (labels), Accel Editor (labels)">Reset Zoom</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Restore the view’s zoom to its default.</property>
<signal name="activate" handler="reset_view_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="ResetRotation">
<property name="label" translatable="yes" context="Menu→View→Reset (labels), Accel Editor (labels)">Reset Rotation</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Restore the view’s rotation to 0°</property>
<signal name="activate" handler="reset_view_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="ResetMirror">
<property name="label" translatable="yes" context="Menu→View→Reset (labels), Accel Editor (labels)">Reset Mirroring</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Turn off mirroring of the view.</property>
<signal name="activate" handler="reset_view_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="ZoomIn">
<property name="icon-name">mypaint-view-zoom-more-symbolic</property>
<property name="label" translatable="yes" context="Menu→View→Adjust View (labels), Accel Editor (labels)">Zoom In</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Increase magnification.</property>
<signal name="activate" handler="zoom_cb"/>
</object>
<accelerator key="period"/>
</child>
<child>
<object class="GtkAction" id="ZoomOut">
<property name="icon-name">mypaint-view-zoom-less-symbolic</property>
<property name="label" translatable="yes" context="Menu→View→Adjust View (labels), Accel Editor (labels)">Zoom Out</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Decrease magnification.</property>
<signal name="activate" handler="zoom_cb"/>
</object>
<accelerator key="comma"/>
</child>
<child>
<object class="GtkAction" id="RotateLeft">
<property name="icon-name">mypaint-view-rotate-clockwise-symbolic</property>
<!--
Note: the object we've agreed to present as being rotated
by "RotateLeft and "RotateRight" is the *canvas*,
not the viewing rectangle.
https://github.com/mypaint/mypaint/issues/553
-->
<property name="label" translatable="yes" context="Menu→View→Adjust View (labels), Accel Editor (labels)">Rotate Clockwise</property>
<!-- FIXME: add tooltip back in: should say "Rotate the canvas clockwise" -->
<signal name="activate" handler="rotate_cb"/>
</object>
<accelerator key="Left" modifiers="GDK_CONTROL_MASK"/>
</child>
<child>
<object class="GtkAction" id="RotateRight">
<property name="icon-name">mypaint-view-rotate-anticlockwise-symbolic</property>
<property name="label" translatable="yes" context="Menu→View→Adjust View (labels), Accel Editor (labels)">Rotate Counterclockwise</property>
<!-- FIXME: add tooltip back in: should say "Rotate the canvas counterclockwise" -->
<signal name="activate" handler="rotate_cb"/>
</object>
<accelerator key="Right" modifiers="GDK_CONTROL_MASK"/>
</child>
<child>
<object class="GtkAction" id="MirrorHorizontal">
<property name="icon-name">mypaint-view-mirror-horizontal-symbolic</property>
<property name="label" translatable="yes" context="Menu→View→Adjust View (labels), Accel Editor (labels)">Mirror Horizontal</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Flip the view left to right.</property>
<signal name="activate" handler="mirror_horizontal_cb"/>
</object>
<accelerator key="i"/>
</child>
<child>
<object class="GtkAction" id="MirrorVertical">
<property name="icon-name">mypaint-view-mirror-vertical-symbolic</property>
<property name="label" translatable="yes" context="Menu→View→Adjust View (labels), Accel Editor (labels)">Mirror Vertical</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Flip the view upside-down.</property>
<signal name="activate" handler="mirror_vertical_cb"/>
</object>
<accelerator key="u"/>
</child>
<child>
<object class="GtkToggleAction" id="SoloLayer">
<property name="label" translatable="yes" context="Menu→View (labels), Accel Editor (labels)">Layer Solo</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Toggle whether only the current layer is shown.</property>
<signal name="toggled" handler="current_layer_solo_toggled_cb"/>
</object>
<accelerator key="Home"/>
</child>
<!--}}} -->
<!--{{{ Symmetry & frame toggles -->
<child>
<object class="GtkToggleAction" id="SymmetryActive">
<property name="icon-name">mypaint-symmetry-symbolic</property>
<property name="label" translatable="yes" context="Menu→Edit (labels), Accel Editor (labels)">Symmetrical Painting Active</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Mirror brushstrokes along the axis of symmetry</property>
<signal name="activate" handler="symmetry_active_toggled_cb"/>
</object>
<accelerator key="i" modifiers="GDK_SHIFT_MASK"/>
</child>
<child>
<object class="GtkToggleAction" id="FrameToggle">
<property name="label" translatable="yes" context="Menu→File (labels), Accel Editor (labels)">Frame Enabled</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Toggle visibility of the document frame.</property>
<property name="icon-name">mypaint-frame-symbolic</property>
<signal name="activate" handler="toggle_frame_cb"/>
</object>
</child>
<!-- }}} -->
<!-- {{{ Debugging toggles -->
<child>
<object class="GtkToggleAction" id="PrintInputs">
<property name="label" translatable="yes" context="Menu→Help→Debug (labels), Accel Editor (labels)">Print Brush Input Values to Console</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Show the brush engine’s internally generated inputs on the console.</property>
<signal name="activate" handler="print_inputs_cb"/>
</object>
</child>
<child>
<object class="GtkToggleAction" id="VisualizeRendering">
<property name="label" translatable="yes" context="Menu→Help→Debug (labels), Accel Editor (labels)">Visualize Rendering</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Show rendering updates on-screen, for debugging.</property>
<signal name="activate" handler="visualize_rendering_cb"/>
</object>
</child>
<child>
<object class="GtkToggleAction" id="NoDoubleBuffereing">
<property name="label" translatable="yes" context="Menu→Help→Debug (labels), Accel Editor (labels)">No Double Buffering</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Turn off GTK’s double buffering, normally enabled.</property>
<signal name="activate" handler="no_double_buffering_cb"/>
</object>
</child>
<!-- }}} -->
</object>
</child>
<!--}}} -->
<!-- {{{ BrushModifierActions -->
<child>
<object class="GtkActionGroup" id="BrushModifierActions">
<!-- Brush blend modes: defined in gui/brushmodifier.py -->
<child>
<object class="GtkAction" id="BlendModeMenu">
<property name="label" translatable="yes" context="Menu→Brush (labels)">Paint Mode</property>
<property name="icon-name">mypaint-brush-blend-modes-symbolic</property>
<!-- NO TOOLTIP: this is a menu -->
</object>
</child>
<child>
<object class="GtkToggleAction" id="BlendModeNormal">
<property name="icon_name">mypaint-paint-over-symbolic</property>
<property name="label" translatable="yes" context="Menu→Brush→Blend Mode (labels), Accel Editor (labels)">Paint Mode: Normal</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Apply color normally when painting.</property>
<signal name="activate" handler="blend_mode_normal_cb"/>
</object>
<accelerator key="n"/>
</child>
<child>
<object class="GtkToggleAction" id="BlendModeEraser">
<property name="icon_name">mypaint-eraser-symbolic</property>
<property name="label" translatable="yes" context="Menu→Brush→Blend Mode (labels), Accel Editor (labels)">Paint Mode: Eraser</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Erase using the current brush.</property>
<signal name="activate" handler="blend_mode_eraser_cb"/>
</object>
<accelerator key="e"/>
</child>
<child>
<object class="GtkToggleAction" id="BlendModeLockAlpha">
<property name="icon_name">mypaint-lock-alpha-symbolic</property>
<property name="label" translatable="yes" context="Menu→Brush→Blend Mode (labels), Accel Editor (labels)">Paint Mode: Lock Alpha</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Applying the brush doesn't change the layer’s opacity.</property>
<signal name="activate" handler="blend_mode_lock_alpha_cb"/>
</object>
<accelerator key="l" modifiers="GDK_SHIFT_MASK"/>
</child>
<child>
<object class="GtkToggleAction" id="BlendModeColorize">
<property name="icon_name">mypaint-colorize-symbolic</property>
<property name="label" translatable="yes" context="Menu→Brush→Blend Mode (labels), Accel Editor (labels)">Paint Mode: Colorize</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Apply color to the current layer without affecting its brightness or opacity.</property>
<signal name="activate" handler="blend_mode_colorize_cb"/>
</object>
<accelerator key="k" modifiers="GDK_SHIFT_MASK"/>
</child>
</object>
</child>
<!--}}} /BrushModifierActions -->
<!--{{{ WindowActions: actions affecting the application window and document view -->
<child>
<object class="GtkActionGroup" id="WindowActions">
<!-- {{{ File menu structural actions -->
<child>
<object class="GtkAction" id="FileMenu">
<property name="label" translatable="yes" context="Menu (labels)">File</property>
<!-- NO TOOLTIP: this is a menu -->
</object>
</child>
<child>
<object class="GtkAction" id="Quit">
<property name="label" translatable="yes" context="Menu→File (labels), Accel Editor (labels)">Quit</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Close main window and exit the app.</property>
<property name="icon-name">mypaint-close-symbolic</property>
<signal name="activate" handler="quit_cb"/>
</object>
<accelerator key="q" modifiers="GDK_CONTROL_MASK"/>
</child>
<!-- }}} -->
<!-- {{{ Edit menu structure -->
<child>
<object class="GtkAction" id="EditMenu">
<property name="label" translatable="yes" context="Menu (labels)">Edit</property>
<!-- NO TOOLTIP: this is a menu -->
</object>
</child>
<child>
<object class="GtkAction" id="CurrentModeMenu">
<property name="label" translatable="yes" context="Menu→Edit (labels)">Current Tool</property>
<!-- NO TOOLTIP: this is a menu -->
</object>
</child>
<!-- }}} -->
<!-- {{{ Color menu structure & actions -->
<child>
<object class="GtkAction" id="ColorMenu">
<property name="label" translatable="yes" context="Menu (labels)">Color</property>
<!-- NO TOOLTIP: this is a menu -->
</object>
</child>
<child>
<object class="GtkAction" id="ColorAdjustmentsMenu">
<property name="label" translatable="yes" context="Menu→Color (labels)">Adjust Color</property>
<!-- NO TOOLTIP: this is a menu -->
</object>
</child>
<child>
<object class="GtkAction" id="ColorHistoryPopup">
<property name="label" translatable="yes" context="Menu→Color (labels), Accel Editor (labels)">Color History Popup</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Pop up a timeline of recent colors under the cursor.</property>
<signal name="activate" handler="popup_cb"/>
</object>
<accelerator key="x"/>
</child>
<child>
<object class="GtkAction" id="ColorDetailsDialog">
<property name="label" translatable="yes" context="Menu→Color (labels), Accel Editor (labels)">Color Details Dialog</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Show a color details dialog with text entry.</property>
<signal name="activate" handler="color_details_dialog_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="PaletteNext">
<property name="label" translatable="yes" context="Menu→Color">Next Palette Color</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Set painting color to the next color in the palette.</property>
<signal name="activate" handler="palette_next_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="PalettePrev">
<property name="label" translatable="yes" context="Menu→Color (labels), Accel Editor (labels)">Previous Palette Color</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Set painting color to the previous color in the palette.</property>
<signal name="activate" handler="palette_prev_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="PaletteAddCurrentColor">
<property name="label" translatable="yes" context="Menu→Color (labels), Accel Editor (labels)">Add Color to Palette</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Append the current painting color to the palette.</property>
<signal name="activate" handler="palette_add_current_color_cb"/>
</object>
</child>
<!-- }}} -->
<!-- {{{ Layer menu strucure -->
<child>
<object class="GtkAction" id="LayerMenu">
<property name="label" translatable="yes" context="Menu (labels)">Layer</property>
<!-- NO TOOLTIP! This is a menu. -->
</object>
</child>
<child>
<object class="GtkAction" id="LayerOpacityMenu">
<property name="label" translatable="yes" context="Menu→Layer→Properties (labels)">Opacity</property>
<!-- NO TOOLTIP! This is a menu. -->
</object>
</child>
<child>
<object class="GtkAction" id="LayerGoMenu">
<property name="label" translatable="yes" context="Menu→Layer (labels)">Go to Layer</property>
<!-- NO TOOLTIP! This is a menu. -->
</object>
</child>
<child>
<object class="GtkAction" id="LayerNewBelowMenu">
<property name="label" translatable="yes" context="Menu→Layer (labels)">New Layer Below</property>
<!-- NO TOOLTIP! This is a menu. -->
</object>
</child>
<child>
<object class="GtkAction" id="LayerPropertiesMenu">
<property name="label" translatable="yes" context="Menu→Layer (labels)">Properties</property>
<!-- NO TOOLTIP! This is a menu. -->
</object>
</child>
<!-- }}} -->
<!-- {{{ Scratchpad menu actions -->
<child>
<object class="GtkAction" id="ScratchMenu">
<property name="label" translatable="yes" context="Menu (labels)">Scratchpad</property>
<!-- NO TOOLTIP! This is a menu. -->
</object>
</child>
<child>
<object class="GtkAction" id="ScratchNew">
<property name="label" translatable="yes" context="Menu→Scratchpad (labels), Accel Editor (labels)" >New Scratchpad</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Load the default scratchpad as a new scratchpad canvas.</property>
<property name="icon-name">mypaint-document-new-symbolic</property>
<signal name="activate" handler="new_scratchpad_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="ScratchLoad">
<property name="label" translatable="yes" context="Menu→Scratchpad (labels), Accel Editor (labels)">Open Scratchpad…</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Load an image file on disk into the scratchpad.</property>
<property name="icon-name">mypaint-document-open-symbolic</property>
<signal name="activate" handler="load_scratchpad_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="ScratchSaveNow">
<property name="label" translatable="yes" context="Menu→Scratchpad (labels), Accel Editor (labels)">Save Scratchpad</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Save the scratchpad to its existing file on disk.</property>
<property name="icon-name">mypaint-document-save-symbolic</property>
<signal name="activate" handler="save_current_scratchpad_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="ScratchSaveAs">
<property name="label" translatable="yes" context="Menu→Scratchpad (labels), Accel Editor (labels)">Export Scratchpad As…</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Export the scratchpad to disk, under a file name of your choice.</property>
<property name="icon-name">mypaint-document-save-as-symbolic</property>
<signal name="activate" handler="save_as_scratchpad_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="ScratchRevert">
<property name="label" translatable="yes" context="Menu→Scratchpad (labels), Accel Editor (labels)">Revert Scratchpad</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Revert the scratchpad to its last saved state.</property>
<property name="icon-name">mypaint-document-revert-symbolic</property>
<signal name="activate" handler="revert_current_scratchpad_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="ScratchSaveAsDefault">
<property name="label" translatable="yes" context="Menu→Scratchpad (labels), Accel Editor (labels)">Save Scratchpad as Default</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Save the scratchpad as the default for ‘New Scratchpad’.</property>
<signal name="activate" handler="save_scratchpad_as_default_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="ScratchClearDefault">
<property name="label" translatable="yes" context="Menu→Scratchpad (labels), Accel Editor (labels)">Clear Default Scratchpad</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Clear the default scratchpad to a blank canvas.</property>
<signal name="activate" handler="clear_default_scratchpad_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="ScratchCopyBackground">
<property name="label" translatable="yes" context="Menu→Scratchpad (labels), Accel Editor (labels)">Copy Main Background to Scratchpad</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Copy the background image from the working document into the Scratchpad.</property>
<signal name="activate" handler="scratchpad_copy_background_cb"/>
</object>
</child>
<!--}}} / scratchpad menu actions -->
<!--{{{ Window menu -->
<child>
<object class="GtkAction" id="WindowMenu">
<property name="label" translatable="yes" context="Menu (labels)">Window</property>
<!-- NO TOOLTIP! This is a menu. -->
</object>
</child>
<!--}}} / Window menu -->
<!--{{{ Brush menu actions -->
<child>
<object class="GtkAction" id="BrushMenu">
<property name="label" translatable="yes" context="Menu→Brush (labels)">Brush</property>
<!-- NO TOOLTIP! This is a menu. -->
</object>
</child>
<child>
<object class="GtkAction" id="ContextMenu">
<property name="label" translatable="yes" context="Menu→Brush (labels)">Shortcut Keys</property>
<!-- NO TOOLTIP! This is a menu. -->
</object>
</child>
<child>
<object class="GtkAction" id="OnlineHelpBrushShortcutKeys">
<property name="label" translatable="yes" context="Menu→Brush→Shortcut Keys (labels), Accel Editor (labels)">Brush Shortcut Keys Help</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Show an explanation of how the shortcut keys work.</property>
<property name="icon-name">mypaint-help-symbolic</property>
<signal name="activate" handler="show_online_help_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="BrushChooserPopup">
<property name="label" translatable="yes" context="Menu→Brush (labels), Accel Editor (labels)">Change Brush…</property> <property name="icon-name">mypaint-brushes-symbolic</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Pop up a brush changer under the cursor.</property>
<signal name="activate" handler="quick_chooser_popup_cb"/>
</object>
<accelerator key="b"/>
</child>
<child>
<object class="GtkAction" id="ColorChooserPopup">
<property name="label" translatable="yes" context="Menu→Color (labels), Accel Editor (labels)">Change Color…</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Pop up a color changer under the cursor, with all color selectors listed.</property>
<property name="icon-name">mypaint-color-symbolic</property>
<signal name="activate" handler="quick_chooser_popup_cb"/>
</object>
<accelerator key="c"/>
</child>
<child>
<object class="GtkAction" id="ColorChooserPopupFastSubset">
<property name="label" translatable="yes" context="Menu→Color (labels), Accel Editor (labels)">Change Color (fast subset)…</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Pop up a color changer under the cursor, with only single-click selectors listed.</property>
<property name="icon-name">mypaint-color-symbolic</property>
<signal name="activate" handler="quick_chooser_popup_cb"/>
</object>
<accelerator key="v"/>
</child>
<child>
<object class="GtkAction" id="DownloadBrushPack">
<property name="label" translatable="yes" context="Menu→Brush (labels), Accel Editor (labels)">Get More Brushes…</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Download brushpacks from the MyPaint wiki.</property>
<signal name="activate" handler="download_brush_pack_cb"/>
<property name="icon-name">mypaint-globe-symbolic</property>
</object>
</child>
<child>
<object class="GtkAction" id="ImportBrushPack">
<property name="label" translatable="yes" context="Menu→Brush (labels), Accel Editor (labels)">Import Brushes…</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Load a brushpack from disk.</property>
<property name="icon-name">mypaint-document-open-symbolic</property>
<signal name="activate" handler="import_brush_pack_cb"/>
</object>
</child>
<!--}}} /brush menu actions -->
<!--{{{ Help/documentation menu -->
<child>
<object class="GtkAction" id="HelpMenu">
<property name="label" translatable="yes" context="Menu (labels)">Help</property>
<!-- NO TOOLTIP: this is a menu -->
</object>
</child>
<child>
<object class="GtkAction" id="OnlineHelpIndex">
<property name="label" translatable="yes" context="Menu→Help (labels), Accel Editor (labels)">Online Help</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Go to MyPaint’s documentation wiki.</property>
<property name="icon-name">mypaint-info-symbolic</property>
<signal name="activate" handler="show_online_help_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="About">
<property name="label" translatable="yes" context="Menu→Help (labels), Accel Editor (labels)">About MyPaint</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Show MyPaint’s license, version number, and credits.</property>
<property name="icon-name">mypaint-about-symbolic</property>
<signal name="activate" handler="about_cb"/>
</object>
</child>
<!-- }}} help/debugging menu -->
<!--{{{ Debugging menu -->
<child>
<object class="GtkAction" id="DebugMenu">
<property name="label" translatable="yes" context="Menu→Help (labels)">Debug</property>
<!-- NO TOOLTIP: this is a menu -->
</object>
</child>
<child>
<object class="GtkAction" id="PrintMemoryLeak">
<property name="label" translatable="yes" context="Menu→Help→Debug (labels), Accel Editor (labels)">Print Memory Leak Info to Console (Slow!)</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Debug memory leaks.</property>
<signal name="activate" handler="print_memory_leak_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="RunGarbageCollector">
<property name="label" translatable="yes" context="Menu→Help→Debug (labels), Accel Editor (labels)">Run Garbage Collector Now</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Free memory used for Python objects which are no longer in use.</property>
<signal name="activate" handler="run_garbage_collector_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="StartProfiling">
<!-- FIXME: convert to a ToggleAction -->
<property name="label" translatable="yes" context="Menu→Help→Debug (labels), Accel Editor (labels)">Start/Stop Profiling…</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Start or Stop Python Profiling (cProfile)</property>
<property name="icon-name">mypaint-run-symbolic</property>
<signal name="activate" handler="start_profiling_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="CrashProgram">
<property name="label" translatable="yes" context="Menu→Help→Debug (labels), Accel Editor (labels)">Simulate a Crash…</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Raise a Python exception, to test the crash dialog.</property>
<signal name="activate" handler="crash_program_cb"/>
</object>
</child>
<!--}}} /debugging menu -->
<!--{{{ View menu and its submenus -->
<child>
<object class="GtkAction" id="ViewMenu">
<property name="label" translatable="yes" context="Menu (labels)">View</property>
<!-- NO TOOLTIP! This is a menu. -->
</object>
</child>
<child>
<object class="GtkAction" id="FeedbackMenu">
<property name="label" translatable="yes" context="Menu→View (labels)">Feedback</property>
<!-- NO TOOLTIP! This is a menu. -->
</object>
</child>
<child>
<object class="GtkAction" id="ViewAdjustmentsMenu">
<property name="label" translatable="yes" context="Menu→View (labels)">Adjust View</property>
<!-- NO TOOLTIP! This is a menu. -->
</object>
</child>
<child>
<object class="GtkAction" id="ShowPopupMenu">
<property name="label" translatable="yes" context="Menu→View (labels), Accel Editor (labels)">Popup Menu</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Show the main menu as a popup.</property>
<signal name="activate" handler="popupmenu_show_cb"/>
</object>
<accelerator key="Menu"/>
</child>
<child>
<object class="GtkAction" id="Fullscreen">
<property name="label" translatable="yes" context="Menu→View (labels), Accel Editor (labels)">Fullscreen</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Toggle between full-screen and windowed mode.</property>
<property name="icon-name">mypaint-fullscreen</property>
<signal name="activate" handler="fullscreen_cb"/>
</object>
<accelerator key="F11"/>
</child>
<!-- }}} /view menu -->
<!-- {{{ Subwindow hiding and showing -->
<child>
<object class="GtkToggleAction" id="PreferencesWindow">
<property name="icon-name">mypaint-options-symbolic</property>
<property name="label" translatable="yes" context="Menu→Edit (labels), Accel Editor (labels)">Edit Preferences</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Edit MyPaint’s global settings.</property>
<signal name="activate" handler="toggle_window_cb"/>
</object>
</child>
<child>
<object class="GtkToggleAction" id="InputTestWindow">
<property name="label" translatable="yes" context="Help→Debug (labels), Accel Editor (labels)">Test Input Devices</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Show a dialog which captures all events your input devices send.</property>
<signal name="activate" handler="toggle_window_cb"/>
</object>
</child>
<child>
<object class="GtkToggleAction" id="BackgroundWindow">
<property name="icon-name">mypaint-document-properties-symbolic</property>
<property name="label" translatable="yes" context="Menu→Layer (labels), Accel Editor (labels)">Background Chooser</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Change the background paper texture.</property>
<signal name="activate" handler="toggle_window_cb"/>
</object>
</child>
<child>
<object class="GtkToggleAction" id="BrushEditorWindow">
<property name="icon-name">mypaint-options-symbolic</property>
<property name="label" translatable="yes" context="Menu→Brush (labels), Accel Editor (labels)">Brush Settings Editor</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Edit the active brush’s settings.</property>
<signal name="activate" handler="toggle_window_cb"/>
</object>
<accelerator key="b" modifiers="GDK_CONTROL_MASK"/>
</child>
<child>
<object class="GtkToggleAction" id="BrushIconEditorWindow">
<property name="icon-name">mypaint-options-symbolic</property>
<property name="label" translatable="yes" context="Menu→Brush (labels), Accel Editor (labels)">Brush Icon Editor</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Edit brush icons.</property>
<signal name="activate" handler="toggle_window_cb"/>
</object>
</child>
<!-- }}} -->
<!-- {{{ Layers panel -->
<child>
<object class="GtkToggleAction" id="ToggleLayersTool">
<property name="label" translatable="yes" context="Menu→Window (labels), Toolbar (labels), Accel Editor (labels)">Layers Panel</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Toggle the Layers dockpanel (arrange layers, or assign modes).</property>
<property name="icon-name">mypaint-layers-symbolic</property>
<signal name="activate" handler="toggle_dockpanel_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="RevealLayersTool">
<property name="label" translatable="yes" context="Menu→Layers (labels), Accel Editor (labels)">Show Layers Panel</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Reveal the Layers dockpanel (arrange layers, or assign modes).</property>
<property name="icon-name">mypaint-layers-symbolic</property>
<signal name="activate" handler="reveal_dockpanel_cb"/>
</object>
<accelerator key="l"/>
</child>
<!-- }}} -->
<!-- {{{ Color selector panels -->
<child>
<object class="GtkToggleAction" id="HCYWheelTool">
<property name="icon-name">mypaint-tool-hcywheel</property>
<property name="label" translatable="yes" context="Menu→Color (labels), Accel Editor (labels)">HCY Wheel</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Dockable cylindrical hue/chroma/luma color selector. The circular slices are equiluminant.</property>
<signal name="activate" handler="toggle_window_cb"/>
</object>
</child>
<child>
<object class="GtkToggleAction" id="PaletteTool">
<property name="icon-name">mypaint-tool-color-palette</property>
<property name="label" translatable="yes" context="Menu→Color (labels), Accel Editor (labels)">Color Palette</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Dockable palette color selector.</property>
<signal name="activate" handler="toggle_window_cb"/>
</object>
<accelerator key="c" modifiers="GDK_SHIFT_MASK"/>
</child>
<child>
<object class="GtkToggleAction" id="HSVWheelTool">
<property name="icon-name">mypaint-tool-hsvwheel</property>
<property name="label" translatable="yes" context="Menu→Color (labels), Accel Editor (labels)">HSV Wheel</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Dockable saturation and Value color changer.</property>
<signal name="activate" handler="toggle_window_cb"/>
</object>
</child>
<child>
<object class="GtkToggleAction" id="HSVCubeTool">
<property name="icon-name">mypaint-tool-hsvcube</property>
<property name="label" translatable="yes" context="Menu→Color (labels), Accel Editor (labels)">HSV Cube</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Dockable color selector: HSV cube which can be rotated to show different planar slices.</property>
<signal name="activate" handler="toggle_window_cb"/>
</object>
</child>
<child>
<object class="GtkToggleAction" id="HSVSquareTool">
<property name="icon-name">mypaint-tool-hsvsquare</property>
<property name="label" translatable="yes" context="Menu→Color (labels), Accel Editor (labels)">HSV Square</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Dockable color selector: HSV square which can be rotated to show different hues.</property>
<!-- FIXME: this description needs to be improved -->
<signal name="activate" handler="toggle_window_cb"/>
</object>
</child>
<child>
<object class="GtkToggleAction" id="ComponentSlidersTool">
<property name="icon-name">mypaint-tool-component-sliders</property>
<property name="label" translatable="yes" context="Menu→Color (labels), Accel Editor (labels)">Component Sliders</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Dockable color selector showing individual components of the color.</property>
<signal name="activate" handler="toggle_window_cb"/>
</object>
</child>
<child>
<object class="GtkToggleAction" id="WashColorChangerTool">
<property name="icon-name">mypaint-tool-wash-color-changer</property>
<property name="label" translatable="yes" context="Menu→Color (labels), Accel Editor (labels)">Liquid Wash</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Dockable color selector showing a liquid-like wash of nearby colors.</property>
<signal name="activate" handler="toggle_window_cb"/>
</object>
</child>
<child>
<object class="GtkToggleAction" id="RingsColorChangerTool">
<property name="icon-name">mypaint-tool-rings-color-changer</property>
<property name="label" translatable="yes" context="Menu→Color (labels), Accel Editor (labels)">Concentric Rings</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Dockable color selector with concentric HSV rings.</property>
<signal name="activate" handler="toggle_window_cb"/>
</object>
</child>
<child>
<object class="GtkToggleAction" id="CrossedBowlColorChangerTool">
<property name="icon-name">mypaint-tool-crossed-bowl-color-changer</property>
<property name="label" translatable="yes" context="Menu→Color (labels), Accel Editor (labels)">Crossed Bowl</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Dockable color selector with HSV ramps crossing a radial bowl of color.</property>
<signal name="activate" handler="toggle_window_cb"/>
</object>
</child>
<!-- }}} /Color selectors -->
<!-- {{{ Scratchpad panel -->
<child>
<object class="GtkToggleAction" id="ToggleScratchpadTool">
<property name="icon-name">mypaint-scratchpad-symbolic</property>
<property name="label" translatable="yes" context="Menu→Window (labels), Accel Editor (labels)">Scratchpad Panel</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Toggle the Scratchpad dockpanel (mix colors and make sketches).</property>
<signal name="activate" handler="toggle_dockpanel_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="RevealScratchpadTool">
<property name="icon-name">mypaint-scratchpad-symbolic</property>
<property name="label" translatable="yes" context="Menu→Scratchpad (labels), Accel Editor (labels)">Show Scratchpad Panel</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Reveal the Scratchpad dockpanel (mix colors and make sketches).</property>
<signal name="activate" handler="reveal_dockpanel_cb"/>
</object>
<accelerator key="s" modifiers="GDK_SHIFT_MASK"/>
</child>
<!-- }}} -->
<!-- {{{ Preview panel -->
<child>
<object class="GtkToggleAction" id="TogglePreviewTool">
<property name="label" translatable="yes" context="Menu→Window (labels), Toolbar (labels), Accel Editor (labels)">Preview Panel</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Toggle the Preview dockpanel (overview of the whole drawing area).</property>
<property name="icon-name">mypaint-view-symbolic</property>
<signal name="activate" handler="toggle_dockpanel_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="RevealPreviewTool">
<property name="label" translatable="yes" context="Menu→View (labels), Accel Editor (labels)">Preview</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Reveal the Preview dockpanel (overview of the whole drawing area).</property>
<property name="icon-name">mypaint-view-symbolic</property>
<signal name="activate" handler="reveal_dockpanel_cb"/>
</object>
<accelerator key="p" modifiers="GDK_SHIFT_MASK"/>
</child>
<!-- }}} -->
<!-- {{{ Tool Options panel -->
<child>
<object class="GtkToggleAction" id="ToggleModeOptionsTool">
<property name="label" translatable="yes" context="Menu→Window (labels), Toolbar (labels), Accel Editor (labels)">Tool Options Panel</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Toggle the Tool Options dockpanel (options for the current tool).</property>
<property name="icon-name">mypaint-options-symbolic</property>
<signal name="activate" handler="toggle_dockpanel_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="RevealModeOptionsTool">
<property name="label" translatable="yes" context="Menu→Edit (labels), Accel Editor (labels)">Show Tool Options Panel</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Reveal the Tool Options dockpanel (options for the current tool).</property>
<property name="icon-name">mypaint-options-symbolic</property>
<signal name="activate" handler="reveal_dockpanel_cb"/>
</object>
</child>
<!-- }}} -->
<!-- {{{ Brush & Color History panel -->
<child>
<object class="GtkToggleAction" id="ToggleHistoryPanel">
<property name="label" translatable="yes" context="Menu→Window (labels), Toolbar (labels), Accel Editor (labels)">Brush & Color History Panel</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Toggle the History panel (recently used brushes and colors).</property>
<property name="icon-name">mypaint-history-symbolic</property>
<signal name="activate" handler="toggle_dockpanel_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="RevealHistoryPanel">
<property name="label" translatable="yes" context="Menu→Edit (labels), Accel Editor (labels)">Recent Brushes & Colors</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Reveal the History panel (recently used brushes and colors).</property>
<property name="icon-name">mypaint-history-symbolic</property>
<signal name="activate" handler="reveal_dockpanel_cb"/>
</object>
</child>
<!-- }}} -->
<!-- {{{ UI and feedback toggles -->
<child>
<object class="GtkToggleAction" id="FullscreenAutohide">
<property name="label" translatable="yes" context="Menu→View (labels), Accel Editor (labels)">Hide Controls in Fullscreen</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Toggle automatic hiding of the user interface in fullscreen.</property>
<signal name="toggled" handler="fullscreen_autohide_toggled_cb"/>
</object>
<accelerator key="Tab"/>
</child>
<child>
<object class="GtkToggleAction" id="ToggleScaleFeedback">
<property name="label" translatable="yes" context="Menu→View→Feedback (labels), Accel Editor (labels)">Show Zoom Level</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Toggle zoom level feedback.</property>
<signal name="activate" handler="toggle_scale_feedback_cb"/>
</object>
</child>
<child>
<object class="GtkToggleAction" id="ToggleLastPosFeedback">
<property name="label" translatable="yes" context="Menu→View→Feedback (labels), Accel Editor (labels)">Show Last Painting Position</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Toggle feedback showing where the last stroke ended.</property>
<signal name="activate" handler="toggle_last_pos_feedback_cb"/>
</object>
</child>
<!-- }}} -->
<!-- {{{ Display filters submenu -->
<child>
<object class="GtkAction" id="DisplayFilterMenu">
<property name="label" translatable="yes" context="Menu→View (labels)">Display Filter</property>
<!-- NO TOOLTIP: this is a menu -->
</object>
</child>
<child>
<object class="GtkRadioAction" id="DisplayFilterNone">
<property name="label" translatable="yes" context="Menu→View→Display Filter (labels), Accel Editor (labels)">Display Colors Normally</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Filter colors: show colors unchanged.</property>
<signal name="changed" handler="_display_filter_radioaction_changed_cb"/>
<property name="current-value">0</property>
<property name="value">0</property>
</object>
</child>
<child>
<object class="GtkRadioAction" id="DisplayFilterLumaOnly">
<property name="label" translatable="yes" context="Menu→View→Display Filter (labels), Accel Editor (labels)">Display Colors as Greyscale</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Filter colors: show brightness only (HCY/YCbCr Luma)</property>
<property name="group">DisplayFilterNone</property>
<property name="value">1</property>
</object>
</child>
<child>
<object class="GtkRadioAction" id="DisplayFilterInvertColors">
<property name="label" translatable="yes" context="Menu→View→Display Filter (labels), Accel Editor (labels)">Display Colors Inverted</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Filter colors: inverse video. Black is white and red is cyan.</property>
<property name="group">DisplayFilterLumaOnly</property>
<property name="value">2</property>
</object>
</child>
<child>
<object class="GtkRadioAction" id="DisplayFilterSimDeuteranopia">
<property name="label" translatable="yes" context="Menu→View→Display Filter (labels), Accel Editor (labels)">Display Colors with Simulated Insensitivity to Red</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Filter colors to simulate deuteranopia, a common form of color blindness.</property>
<property name="group">DisplayFilterInvertColors</property>
<property name="value">3</property>
</object>
</child>
<child>
<object class="GtkRadioAction" id="DisplayFilterSimProtanopia">
<property name="label" translatable="yes" context="Menu→View→Display Filter (labels), Accel Editor (labels)">Display Colors with Simulated Insensitivity to Green</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Filter colors to simulate protanopia, a common form of color blindness.</property>
<property name="group">DisplayFilterSimDeuteranopia</property>
<property name="value">4</property>
</object>
</child>
<child>
<object class="GtkRadioAction" id="DisplayFilterSimTritanopia">
<property name="label" translatable="yes" context="Menu→View→Display Filter (labels), Accel Editor (labels)">Display Colors with Simulated Insensitivity to Blue</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Filter colors to simulate tritanopia, a rare form of color blindness.</property>
<property name="group">DisplayFilterSimProtanopia</property>
<property name="value">5</property>
</object>
</child>
<!-- }}} -->
</object>
</child>
<!-- }}} -->
<!-- {{{ ModeStackActions: actions which affect the current mode (i.e. the tool the user is working with) -->
<child>
<object class="GtkActionGroup" id="ModeStackActions">
<!-- {{{ Freehand radio and flip actions -->
<child>
<object class="GtkRadioAction" id="FreehandMode">
<property name="label" translatable="yes" context="Menu→Edit→Current Mode (labels)">Freehand</property>
<property name="short-label" translatable="yes" context="Toolbar (short labels)">Freehand</property>
<property name="tooltip" translatable="yes" context="Toolbar (tooltips)">Freehand: draw and paint freely, without geometric constraints.</property>
<property name="icon-name">mypaint-brush-symbolic</property>
<property name="value">1</property>
<property name="current-value">1</property>
<signal name="changed" handler="mode_radioaction_changed_cb"/>
</object>
</child>
<child>
<object class="GtkAction" id="FlipFreehandMode">
<property name="label" translatable="yes" context="Menu→Edit (labels), Accel Editor (labels)">Freehand</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Draw and paint freely, without geometric constraints.</property>
<property name="icon-name">mypaint-brush-symbolic</property>
<signal name="activate" handler="mode_flip_action_activated_cb"/>
</object>
<accelerator key="p"/><!-- "pencil", or "paint" -->
</child>
<!-- }}} -->
<!-- {{{ Pan-view radio and flip actions -->
<child>
<object class="GtkRadioAction" id="PanViewMode">
<property name="label" translatable="yes" context="Menu→Edit→Current Mode (labels)">Pan View</property>
<property name="short-label" translatable="yes" context="Toolbar (short labels)">Pan</property>
<property name="tooltip" translatable="yes" context="Toolbar (tooltips)">Pan View: move your view of the canvas horizontally or vertically.</property>
<property name="icon-name">mypaint-view-pan-symbolic</property>
<property name="group">FreehandMode</property>
<property name="value">2</property>
</object>
</child>
<child>
<object class="GtkAction" id="FlipPanViewMode">
<property name="label" translatable="yes" context="Menu→View (labels), Accel Editor (labels)">Pan View</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Interactively move your view of the canvas horizontally or vertically.</property>
<property name="icon-name">mypaint-view-pan-symbolic</property>
<signal name="activate" handler="mode_flip_action_activated_cb"/>
</object>
</child>
<!-- }}} -->
<!-- {{{ Rotate-view radio and flip actions -->
<child>
<object class="GtkRadioAction" id="RotateViewMode">
<property name="label" translatable="yes" context="Menu→Edit→Current Mode (labels)">Rotate View</property>
<property name="short-label" translatable="yes" context="Toolbar (short labels)">Rotate</property>
<property name="tooltip" translatable="yes" context="Toolbar (tooltips)">Rotate View: tilt your view of the canvas.</property>
<property name="icon-name">mypaint-view-rotate-symbolic</property>
<property name="group">PanViewMode</property>
<property name="value">3</property>
</object>
</child>
<child>
<object class="GtkAction" id="FlipRotateViewMode">
<property name="label" translatable="yes" context="Menu→View (labels), Accel Editor (labels)">Rotate View</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Interactively rotate your view of the canvas.</property>
<property name="icon-name">mypaint-view-rotate-symbolic</property>
<signal name="activate" handler="mode_flip_action_activated_cb"/>
</object>
</child>
<!-- }}} -->
<!-- {{{ Zoom-view radio and flip actions -->
<child>
<object class="GtkRadioAction" id="ZoomViewMode">
<property name="label" translatable="yes" context="Menu→Edit→Current Mode (labels)">Zoom View</property>
<property name="short-label" translatable="yes" context="Toolbar (short labels)">Zoom</property>
<property name="tooltip" translatable="yes" context="Toolbar (tooltips)">Zoom View: zoom into or out of the canvas.</property>
<property name="icon-name">mypaint-view-zoom-symbolic</property>
<property name="group">RotateViewMode</property>
<property name="value">3</property>
</object>
</child>
<child>
<object class="GtkAction" id="FlipZoomViewMode">
<property name="label" translatable="yes" context="Menu→View (labels), Accel Editor (labels)">Zoom View</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Interactively zoom into or out of the canvas.</property>
<property name="icon-name">mypaint-view-zoom-symbolic</property>
<signal name="activate" handler="mode_flip_action_activated_cb"/>
</object>
</child>
<!-- }}} -->
<!-- {{{ Lines-and-Curves radio and flip actions -->
<child>
<object class="GtkRadioAction" id="StraightMode">
<property name="label" translatable="yes" context="Menu→Edit→Current Mode (labels)">Lines and Curves</property>
<property name="short-label" translatable="yes" context="Toolbar (short labels)">Lines</property>
<property name="tooltip" translatable="yes" context="Toolbar (tooltips)">Lines and Curves: draw straight or curved lines.</property>
<property name="icon-name">mypaint-lines-and-curves-symbolic</property>
<property name="group">ZoomViewMode</property>
<property name="value">4</property>
</object>
</child>
<child>
<object class="GtkAction" id="FlipStraightMode">
<property name="label" translatable="yes" context="Menu→Edit (labels), Accel Editor (labels)">Lines and Curves</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Draw straight or curved lines.</property>
<property name="icon-name">mypaint-lines-and-curves-symbolic</property>
<signal name="activate" handler="mode_flip_action_activated_cb"/>
</object>
<accelerator key="k"/> <!-- Lines and, um, Kurves. -->
</child>
<!-- }}} -->
<!-- {{{ Connected-Lines radio and flip actions -->
<child>
<object class="GtkRadioAction" id="SequenceMode">
<property name="label" translatable="yes" context="Menu→Edit→Current Mode (labels)">Connected Lines</property>
<property name="short-label" translatable="yes" context="Toolbar (short labels)">Conn. Lines</property>
<property name="tooltip" translatable="yes" context="Toolbar (tooltips)">Connected Lines: draw sequences of straight or curved lines.</property>
<property name="icon-name">mypaint-line-sequence-symbolic</property>
<property name="group">StraightMode</property>
<property name="value">5</property>
</object>
</child>
<child>
<object class="GtkAction" id="FlipSequenceMode">
<property name="label" translatable="yes" context="Menu→Edit (labels), Accel Editor (labels)">Connected Lines</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Draw sequences of straight or curved lines.</property>
<property name="icon-name">mypaint-line-sequence-symbolic</property>
<signal name="activate" handler="mode_flip_action_activated_cb"/>
</object>
<accelerator key="j"/> <!-- next to k, on my keyboard -->
</child>
<!-- }}} -->
<!-- {{{ Ellipses-and-Circles radio and flip actions -->
<child>
<object class="GtkRadioAction" id="EllipseMode">
<property name="label" translatable="yes" context="Menu→Edit→Current Mode (labels)">Ellipses and Circles</property>
<property name="short-label" translatable="yes" context="Toolbar (short labels)">Ellipse</property>
<property name="tooltip" translatable="yes" context="Toolbar (tooltips)">Ellipses and Circles: draw rounded shapes.</property>
<property name="icon-name">mypaint-ellipse-symbolic</property>
<property name="group">SequenceMode</property>
<property name="value">6</property>
</object>
</child>
<child>
<object class="GtkAction" id="FlipEllipseMode">
<property name="label" translatable="yes" context="Menu→Edit (labels), Accel Editor (labels)">Ellipses and Circles</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Draw circles and ellipses.</property>
<property name="icon-name">mypaint-ellipse-symbolic</property>
<signal name="activate" handler="mode_flip_action_activated_cb"/>
</object>
<accelerator key="o"/> <!-- *looks* like a circle -->
</child>
<!-- }}} -->
<!-- {{{ Inking tool radio and flip actions -->
<child>
<object class="GtkRadioAction" id="InkingMode">
<property name="label" translatable="yes" context="Menu→Edit→Current Mode (labels)">Inking</property>
<property name="short-label" translatable="yes" context="Toolbar (short labels)">Ink</property>
<property name="tooltip" translatable="yes" context="Toolbar (tooltips)">Inking: draw smooth controlled lines.</property>
<property name="icon-name">mypaint-tool-inking-symbolic</property>
<property name="group">EllipseMode</property>
<property name="value">7</property>
</object>
</child>
<child>
<object class="GtkAction" id="FlipInkingMode">
<property name="label" translatable="yes" context="Menu→Edit (labels), Accel Editor (labels)">Inking</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Draw smooth controlled lines.</property>
<property name="icon-name">mypaint-tool-inking-symbolic</property>
<signal name="activate" handler="mode_flip_action_activated_cb"/>
</object>
</child>
<!-- }}} -->
<!-- {{{ Move-Layer tool radio and flip actions -->
<child>
<object class="GtkRadioAction" id="LayerMoveMode">
<property name="label" translatable="yes" context="Menu→Edit→Current Mode (labels)">Reposition Layer</property>
<property name="short-label" translatable="yes" context="Toolbar (short labels)">Layer Pos.</property>
<property name="tooltip" translatable="yes" context="Toolbar (tooltips)">Reposition Layer: move the current layer on the canvas.</property>
<property name="icon-name">mypaint-layer-move-symbolic</property>
<property name="group">EllipseMode</property>
<property name="value">7</property>
</object>
</child>
<child>
<object class="GtkAction" id="FlipLayerMoveMode">
<property name="label" translatable="yes" context="Menu→Layer (labels), Accel Editor (labels)">Reposition Layer</property>
<property name="tooltip" translatable="yes" context="Accel Editor (description)">Interactively move the current layer on the canvas.</property>
<property name="icon-name">mypaint-layer-move-symbolic</property>
<signal name="activate" handler="mode_flip_action_activated_cb"/>
</object>
</child>
<!-- }}} -->
<!-- {{{ Edit Frame tool radio and flip actions -->
<child>
<object class="GtkRadioAction" id="FrameEditMode">
<property name="label" translatable="yes" context="Menu→Edit→Current Mode (labels)">Edit Frame</property>
<property name="short-label" translatable="yes" context="Toolbar (short labels)">Frame</property>
<property name="tooltip" translatable="yes" context="Toolbar (tooltips)">Edit Frame: define a frame around the document to give it a finite size.</property>
<property name="icon-name">mypaint-frame-symbolic</property>
<property name="group">LayerMoveMode</property>
<property name="value">8</property>
</object>
</child>
<child>
<object class="GtkAction" id="FlipFrameEditMode">
<property name="label" translatable="yes" context="Menu→File (labels), Accel Editor (labels)">Edit Frame</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Interactively define a frame around the document to give it a finite size.</property>
<property name="icon-name">mypaint-frame-symbolic</property>
<signal name="activate" handler="mode_flip_action_activated_cb"/>
</object>
</child>
<!-- }}} -->
<!-- {{{ Symmetry edit tool radio and flip actions -->
<child>
<object class="GtkRadioAction" id="SymmetryEditMode">
<property name="label" translatable="yes" context="Menu→Edit→Current Mode (labels)">Edit Painting Symmetry</property>
<property name="short-label" translatable="yes" context="Toolbar (short labels)">Symmetry</property>
<property name="tooltip" translatable="yes" context="Toolbar (tooltips)">Edit Painting Symmetry: adjust the axis used for symmetrical painting.</property>
<property name="icon-name">mypaint-symmetry-symbolic</property>
<property name="group">FrameEditMode</property>
<property name="value">9</property>
</object>
</child>
<child>
<object class="GtkAction" id="FlipSymmetryEditMode">
<property name="label" translatable="yes" context="Menu→File (labels), Accel Editor (labels)">Edit Painting Symmetry</property>
<property name="tooltip" translatable="yes" context="Accel Editor (description)">Interactively adjust the axis used for symmetrical painting.</property>
<property name="icon-name">mypaint-symmetry-symbolic</property>
<signal name="activate" handler="mode_flip_action_activated_cb"/>
</object>
</child>
<!-- }}} -->
<!-- {{{ Pick Color tool radio and flip actions -->
<child>
<object class="GtkRadioAction" id="ColorPickMode">
<property name="label" translatable="yes" context="Menu→Edit→Current Mode (labels)">Pick Color</property>
<property name="short-label" translatable="yes" context="Toolbar (short labels)">Pick Col.</property>
<property name="tooltip" translatable="yes" context="Toolbar (tooltips)">Pick Color: set the painting color from screen pixels.</property>
<property name="icon-name">mypaint-pick-color-symbolic</property>
<property name="group">SymmetryEditMode</property>
<property name="value">10</property>
</object>
</child>
<child>
<object class="GtkAction" id="FlipColorPickMode">
<property name="label" translatable="yes" context="Menu→Color (labels), Accel Editor (labels)">Pick Color</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Set the painting color from screen pixels.</property>
<property name="icon-name">mypaint-pick-color-symbolic</property>
<signal name="activate" handler="mode_flip_action_activated_cb"/>
</object>
<accelerator key="r"/>
</child>
<!-- }}} -->
<!-- {{{ Flood Fill tool radio and flip actions -->
<child>
<object class="GtkRadioAction" id="FloodFillMode">
<property name="label" translatable="yes" context="Menu→Edit→Current Mode (labels)">Flood Fill</property>
<property name="short-label" translatable="yes" context="Toolbar (short labels)">Fill</property>
<property name="tooltip" translatable="yes" context="Toolbar (tooltips)">Flood Fill: fill an area with color.</property>
<property name="icon-name">mypaint-fill-symbolic</property>
<property name="group">ColorPickMode</property>
<property name="value">11</property>
</object>
</child>
<child>
<object class="GtkAction" id="FlipFloodFillMode">
<property name="label" translatable="yes" context="Menu→Edit (labels), Accel Editor (labels)">Flood Fill</property>
<property name="tooltip" translatable="yes" context="Accel Editor (descriptions)">Fill an area with color.</property>
<property name="icon-name">mypaint-fill-symbolic</property>
<signal name="activate" handler="mode_flip_action_activated_cb"/>
</object>
</child>
<!-- }}} -->
</object>
</child>
<!-- }}} -->
</object>
</interface>
|