Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/constants.py
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2010-01-26 21:45:22 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2010-01-26 21:45:22 (GMT)
commitb34f16ddb5012df4929d07443c7423cfb26f3b88 (patch)
tree8185288a7d7d47ba3d728dc08f417c2c75da519d /constants.py
parent58ac6b89af5cf3f2cfdcf666854be976b027ae11 (diff)
added restore from trash
Diffstat (limited to 'constants.py')
-rw-r--r--constants.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/constants.py b/constants.py
index 951cafe..c1a0b9c 100644
--- a/constants.py
+++ b/constants.py
@@ -61,7 +61,7 @@ PALETTES = [['forward', 'back', 'clean', 'left', 'right', 'show',
'myfunc', 'nop', 'leftpos', 'toppos', 'width', 'rightpos',
'bottompos', 'height', 'print'],
['hideblocks'],
- []]
+ ['restore']]
#
# block style attributes
@@ -69,7 +69,7 @@ PALETTES = [['forward', 'back', 'clean', 'left', 'right', 'show',
COLORS = [["#00FF00","#00A000"], ["#00FFFF","#00A0A0"], ["#FF00FF","#A000A0"],
["#FFC000","#A08000"], ["#FFFF00","#A0A000"], ["#FF0000","#A0000"],
- ["#0000FF","#0000FF"], ["#000000","#000000"]]
+ ["#0000FF","#0000FF"], ["#FFFF00","#A0A000"]]
PALETTE_HEIGHT = 175
@@ -85,7 +85,7 @@ BASIC_STYLE_HEAD = ['start', 'hat1', 'hat2']
BASIC_STYLE_HEAD_1ARG = ['hat']
BASIC_STYLE_TAIL = ['stopstack']
BASIC_STYLE = ['clean', 'penup', 'pendown', 'stack1', 'stack2', 'vspace',
- 'hideblocks', 'clearheap', 'printheap', 'kbinput']
+ 'hideblocks', 'clearheap', 'printheap', 'kbinput', 'restore']
BASIC_STYLE_1ARG = ['forward', 'back', 'left', 'right', 'setheading', 'show',
'setscale', 'setpensize', 'setcolor', 'setshade', 'print',
'settextsize', 'settextcolor', 'print', 'wait', 'storeinbox1',
@@ -148,7 +148,7 @@ BLOCK_NAMES = {'clean':[_('clean')], 'forward':[_('forward')],
'push':[_('push')], 'pop':[_('pop')], 'kbinput':[_('query keyboard')],
'myfunc':[_('python'), _('code'), _('value')], 'nop':[' '],
'printheap':[_('show heap')],
- 'clearheap':[_('empty heap')]}
+ 'clearheap':[_('empty heap')], 'restore':[_('restore')]}
#
# Legacy names
@@ -202,11 +202,10 @@ DEFAULTS = {'forward':[100], 'back':[100], 'left':[90], 'right':[90],
'hat':[_('action')], 'stack':[_('action')], 'nop':[100],
'storeinbox1':[100], 'storeinbox2':[100], 'myfunc':[_('x'),100]}
-
-
#
# Status blocks
#
+
MEDIA_SHAPES = ['audioon', 'texton', 'journalon', 'descon', 'pythonoff',
'pythonon']