Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tawindow.py
diff options
context:
space:
mode:
Diffstat (limited to 'tawindow.py')
-rw-r--r--tawindow.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tawindow.py b/tawindow.py
index 781b144..5f9b69b 100644
--- a/tawindow.py
+++ b/tawindow.py
@@ -182,6 +182,7 @@ class TurtleArtWindow():
self.topy = (self.canvas.height*(TITLEXY[1]-0.125))/(self.coord_scale*2)
self.bottomy = 0
self.lc = LogoCode(self)
+ self.saved_pictures = []
"""
Register the events we listen to.
@@ -2650,6 +2651,9 @@ class TurtleArtWindow():
else:
save_picture(self.canvas, file_path)
+ # keep a log of the saved pictures for export to HTML
+ self.saved_pictures.append(file_path)
+
if self.running_sugar:
dsobject = datastore.create()
if len(name) == 0: