Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/tabasics.py
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2011-05-07 13:25:36 (GMT)
committer Walter Bender <walter.bender@gmail.com>2011-05-07 13:25:36 (GMT)
commitac66903e36f30bf501fbdc1e28d4c660f8ef60a8 (patch)
tree1c58569871f419dd720b0342fa1451922ed2c4d3 /TurtleArt/tabasics.py
parent38c69b5dc4e9ced670f6f62f76c2b8c3671e16c8 (diff)
added clear all button to trash palette
Diffstat (limited to 'TurtleArt/tabasics.py')
-rw-r--r--TurtleArt/tabasics.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/TurtleArt/tabasics.py b/TurtleArt/tabasics.py
index 8a43dbd..0f01830 100644
--- a/TurtleArt/tabasics.py
+++ b/TurtleArt/tabasics.py
@@ -947,6 +947,11 @@ variable'))
label=_('restore all'),
help_string=_('restore all blocks from trash'))
+ palette.add_block('trashall',
+ style='basic-style-tail',
+ label=_('clear all'),
+ help_string=_('move all blocks to trash'))
+
# Block primitives
def _prim_and(self, x, y):