From f8710dbe8ff21a9d6893860b342eade8602942d3 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Mon, 22 Jul 2013 14:47:27 +0000 Subject: more updates to new version --- diff --git a/NEWS b/NEWS index 67ab025..d0385e9 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,55 @@ +185 + +ENHANCEMENTS: +* New translations +* More sample graphics from turtleart.org +* Added pen state boolean +* Added new sensor-record example (generates turtle art program from mouse movements) +* Some comments added to the code by Marion Zepf + +BUG FIX: +* Fixed problem with load block introduced by turtle-centric rebase + +BUG FIX: +* Fixed problem with load block introduced by turtle-centric rebase + +184 + +ENHANCEMENTS: +* New translations +* Internal refactoring in support of a turtle-centric approach to programming + +183 + +ENHANCEMENT: +* New translations + +182 + +ENHANCEMENT: +* New translations + +BUG FIXES: +* Fixed problem with initializing trash palette when init_on_start + flag is set (Alan Aguiar) +* Disambiguation of parent vs activity (Marion Zepf) +* Isolation of GUI to enable non-interactive use of canvas (Marion Zepf) + +181 + +BUG FIX: +* Make sure trash is last palette + +180 + +ENHANCEMENT: +* Faster launch time +* New translations + +BUG FIX: +* Catch exception raised when gconf is not available (prevented launch + on some old systems, e.g., Peru 802) + 179 BUG FIXES: diff --git a/TurtleArt/tacanvas.py b/TurtleArt/tacanvas.py index 2af41cd..23b3e68 100644 --- a/TurtleArt/tacanvas.py +++ b/TurtleArt/tacanvas.py @@ -127,7 +127,7 @@ class TurtleGraphics: 'output.svg'), self.width, self.height) else: svg_surface = cairo.SVGSurface( - os.path.join(os.getcwd(), 'output.svg'), + os.path.join('/tmp', 'turtle_output.svg'), self.width, self.height) self.cr_svg = cairo.Context(svg_surface) self.cr_svg.set_line_cap(1) # Set the line cap to be round diff --git a/TurtleArtActivity.py b/TurtleArtActivity.py index 13e37fa..5e4b59c 100644 --- a/TurtleArtActivity.py +++ b/TurtleArtActivity.py @@ -1675,6 +1675,7 @@ in order to use the plugin.')) else: offset = [-3, -3] scale = 33 + _logger.debug('%d, %d, %d' % (offset[0], offset[1], scale)) save_scale = self.tw.lc.scale self.tw.turtles.get_active_turtle().set_xy((offset), pendown=False) diff --git a/activity/activity.info b/activity/activity.info index eeeb760..1104108 100644 --- a/activity/activity.info +++ b/activity/activity.info @@ -1,6 +1,6 @@ [Activity] name = Turtle Confusion -activity_version = 179 +activity_version = 186 license = MIT bundle_id = org.laptop.TurtleConfusionActivity exec = sugar-activity TurtleArtActivity.TurtleArtActivity -- cgit v0.9.1