Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/taexportlogo.py
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2010-02-03 13:26:23 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2010-02-03 13:26:23 (GMT)
commit1d0d737ca4c611a21337b8aa57d7367f73ca651d (patch)
tree533a7e95288eea629c9142b8ee9234d872c3a105 /taexportlogo.py
parent7d2fccad55a866ce977e190b120d117a8ad2c59c (diff)
cleaned up some method name changes in export functions
Diffstat (limited to 'taexportlogo.py')
-rw-r--r--taexportlogo.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/taexportlogo.py b/taexportlogo.py
index 94e5016..d0207ee 100644
--- a/taexportlogo.py
+++ b/taexportlogo.py
@@ -18,7 +18,6 @@
#OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
#THE SOFTWARE.
-import tawindow
import math
try:
from sugar.datastore import datastore
@@ -87,7 +86,7 @@ make \"colors [ \
make \"shade 50 \r\
tasetshade :shade \r"
- bs = tawindow.blocks(tw)
+ bs = tw.just_blocks()
code = ""
# these flags are used to trigger the prepending of additional procedures
random = 0
@@ -166,7 +165,7 @@ tasetshade :shade \r"
refstack = 1
elif d == "box":
refbox = 1
- elif d == "storeinbox":
+ elif d == "storein":
namedbox = 1
elif d == "storeinbox1":
this_stack += "make \"box1"
@@ -265,7 +264,7 @@ tasetshade :shade \r"
elif d == "container":
if show == 1:
show = 2
- elif d == "minus":
+ elif d == "minus2":
this_stack == "taminus"
minus = 1
elif d == "hideblocks":
@@ -317,9 +316,9 @@ tasetshade :shade \r"
# print code
return code
-def walk_stack(self, tw, spr):
- top = tawindow.find_top_block(spr)
- if spr == top:
+def walk_stack(self, tw, blk):
+ top = tw.find_top_block(blk)
+ if blk == top:
# only walk the stack if the block is the top block
code = tw.lc.run_blocks(top, tw.block_list.list, False)
return code