diff options
author | Walter Bender <walter@walter-laptop.(none)> | 2009-10-25 18:11:43 (GMT) |
---|---|---|
committer | Walter Bender <walter@walter-laptop.(none)> | 2009-10-25 18:11:43 (GMT) |
commit | 1ee37b850555e3deca77b6900ba97dfbc7b4f75d (patch) | |
tree | ee0b6c5e45b42f7b03b398835ebc8d0529eee1d4 | |
parent | f05e1cae24359a9f4b97b9cb5f8194b133b64808 (diff) |
fix simplejson import, layersv76
-rw-r--r-- | NEWS | 10 | ||||
-rw-r--r-- | TurtleArtActivity.py | 1 | ||||
-rw-r--r-- | activity/activity.info | 2 | ||||
-rw-r--r-- | taproject.py | 4 | ||||
-rw-r--r-- | tasetup.py | 2 |
5 files changed, 13 insertions, 6 deletions
@@ -1,9 +1,17 @@ +76 + +* fixed import error in project +* fixed bullets in exporthtml +* added proper scaling for coordinate blocks +* moved status layer forward + 75 * Cartesian coordinates overlay * polar coordinates overlay * coordinate display on View Toolbar - +* Option to rescale coordinate system to 100x100 on View Toolbar +* Reordered the palettes (moved misc. down) 74 diff --git a/TurtleArtActivity.py b/TurtleArtActivity.py index 816d803..715095f 100644 --- a/TurtleArtActivity.py +++ b/TurtleArtActivity.py @@ -339,7 +339,6 @@ class TurtleArtActivity(activity.Activity): # Set the project toolbar as the initial one selected self.toolbox.set_current_toolbar(1) - pass # Create a scrolled window to contain the turtle canvas self.sw = gtk.ScrolledWindow() diff --git a/activity/activity.info b/activity/activity.info index 4191129..330838e 100644 --- a/activity/activity.info +++ b/activity/activity.info @@ -1,6 +1,6 @@ [Activity] name = Turtle Art -activity_version = 75 +activity_version = 76 license = MIT bundle_id = org.laptop.TurtleArtActivity exec = sugar-activity TurtleArtActivity.TurtleArtActivity diff --git a/taproject.py b/taproject.py index 05c2a87..88a6f32 100644 --- a/taproject.py +++ b/taproject.py @@ -32,8 +32,8 @@ try: except (ImportError, AttributeError): try: import simplejson as json - from json import load as jload - from json import dump as jdump + from simplejson import load as jload + from simplejson import dump as jdump except: # use pickle on old systems _old_Sugar_system = True @@ -299,7 +299,7 @@ def setup_misc(tw): tw.status_spr = sprNew(tw,0,(tw.height-175), \ tw.status_shapes['status'],True) tw.status_spr.type = 'status' - setlayer(tw.status_spr,400) + setlayer(tw.status_spr,900) # everything should be loaded at this point # print tw.status_shapes tw.loaded = True |