From a17ca2dab31f94e4123d5918f40634912438d9c6 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Thu, 19 Nov 2009 20:17:34 +0000 Subject: cleaning up this and that --- diff --git a/TurtleArtActivity.py b/TurtleArtActivity.py index fbc5ceb..b962290 100644 --- a/TurtleArtActivity.py +++ b/TurtleArtActivity.py @@ -1153,7 +1153,8 @@ class EditToolbar(gtk.Toolbar): clipBoard = gtk.Clipboard() _logger.debug("serialize the project and copy to clipboard") text = tawindow.serialize_stack(self.activity.tw) - clipBoard.set_text(text) + if text is not None: + clipBoard.set_text(text) def _paste_cb(self, button): clipBoard = gtk.Clipboard() diff --git a/images/en/pen/pendown.svg b/images/en/pen/pendown.svg index dba2a7b..f576907 100644 --- a/images/en/pen/pendown.svg +++ b/images/en/pen/pendown.svg @@ -30,10 +30,17 @@ style="fill:url(#linearGradient3172);fill-opacity:1;stroke:#00a0a0;stroke-width:2;stroke-opacity:1" d="M 48,1 C 64,1 64,1 64,1 L 69.5,5 L 73,11 L 73,30 L 69.5,35 L 64,39 L 47,39 L 47,39 L 47,43 L 27,43 L 27,39 L 10,39 L 4.5,35 L 1,30 L 1,11 L 4.5,5 L 10,1 L 26,1 L 26,6 L 48,6 L 48,1 z" /> + style="font-size:16px;text-anchor:middle;text-align:center;font-family:Bitstream Vera Sans"> pd + y="20" + style="font-size:16px;">pen + + + down diff --git a/images/en/pen/penup.svg b/images/en/pen/penup.svg index 8620a83..ba49d1f 100644 --- a/images/en/pen/penup.svg +++ b/images/en/pen/penup.svg @@ -30,10 +30,17 @@ style="fill:url(#linearGradient3172);fill-opacity:1;stroke:#00a0a0;stroke-width:2;stroke-opacity:1" d="M 48,1 C 64,1 64,1 64,1 L 69.5,5 L 73,11 L 73,30 L 69.5,35 L 64,39 L 47,39 L 47,39 L 47,43 L 27,43 L 27,39 L 10,39 L 4.5,35 L 1,30 L 1,11 L 4.5,5 L 10,1 L 26,1 L 26,6 L 48,6 L 48,1 z" /> + style="font-size:16px;text-anchor:middle;text-align:center;font-family:Bitstream Vera Sans"> pu + y="20" + style="font-size:16px;">pen + + + up diff --git a/svg/hres.py b/svg/hres.py index 12f73ca..12f73ca 100644..100755 --- a/svg/hres.py +++ b/svg/hres.py diff --git a/svg/vres.py b/svg/vres.py index ec919a3..ec919a3 100644..100755 --- a/svg/vres.py +++ b/svg/vres.py diff --git a/tamyblock.py b/tamyblock.py index 5b474ee..dca0bf8 100644 --- a/tamyblock.py +++ b/tamyblock.py @@ -107,7 +107,7 @@ def myblock(lc,x): # ########################################################################### - # lc.tw.activity._do_save_image_cb(lc.tw.activity) + # lc.tw.activity._do_save_as_image_cb(lc.tw.activity) return -- cgit v0.9.1