diff options
author | Walter Bender <walter@walter-laptop.(none)> | 2010-02-10 17:57:11 (GMT) |
---|---|---|
committer | Walter Bender <walter@walter-laptop.(none)> | 2010-02-10 17:57:11 (GMT) |
commit | 963f3ff3810877b02eee65a9d50155cdb3ccf7ae (patch) | |
tree | 2a5011cdf7afbb5ec9ecd7addfb2b6c53a2c8944 /taconstants.py | |
parent | 9f161d1c93b415baac79a9fee86b12a7abccf32f (diff) |
cleaning up collapsible block details
Diffstat (limited to 'taconstants.py')
-rw-r--r-- | taconstants.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/taconstants.py b/taconstants.py index 10f90b0..1ae34df 100644 --- a/taconstants.py +++ b/taconstants.py @@ -174,7 +174,7 @@ BASIC_STYLE_TAIL = ['stopstack', 'empty'] BASIC_STYLE = ['clean', 'penup', 'pendown', 'stack1', 'stack2', 'vspace', 'hideblocks', 'showblocks', 'clearheap', 'printheap', 'kbinput', 'picturelist', 'picture1x1', 'picture2x2', 'picture2x1', 'picture1x2', - 'fullscreen'] + 'fullscreen', 'sandwichcollapsed'] BASIC_STYLE_1ARG = ['forward', 'back', 'left', 'right', 'seth', 'show', 'setscale', 'setpensize', 'setcolor', 'setshade', 'print', 'showaligned', 'settextsize', 'settextcolor', 'print', 'wait', 'storeinbox1', 'savepix', @@ -359,7 +359,7 @@ EXPANDABLE = ['vspace', 'hspace', 'templatelist', 'list', 'identity2', 'myfunc'] # # Blocks that are 'collapsible' # -COLLAPSIBLE = ['sandwichbottom'] +COLLAPSIBLE = ['sandwichbottom', 'sandwichcollapsed'] # # Depreciated block styles that need dock adjustments @@ -451,8 +451,9 @@ BLOCK_NAMES = { 'rightx':[_('picture right')], 'savepix':[_('save picture')], 'scale':[_('scale')], - 'sandwichtop':['top of stack'], 'sandwichbottom':[''], + 'sandwichcollapsed':[_('click to open')], + 'sandwichtop':['top of stack'], 'setcolor':[_('set color')], 'seth':[_('set heading')], 'setpensize':[_('set pen size')], |