Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2009-11-19 20:17:34 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2009-11-19 20:17:34 (GMT)
commita17ca2dab31f94e4123d5918f40634912438d9c6 (patch)
tree09c5c3a7020d1a018bf6be0b9298cf7cf5437b32
parent971e4bae79d245110bf58b7b8b370b017a918017 (diff)
cleaning up this and that
-rw-r--r--TurtleArtActivity.py3
-rw-r--r--images/en/pen/pendown.svg13
-rw-r--r--images/en/pen/penup.svg13
-rwxr-xr-x[-rw-r--r--]svg/hres.py0
-rwxr-xr-x[-rw-r--r--]svg/vres.py0
-rw-r--r--tamyblock.py2
6 files changed, 23 insertions, 8 deletions
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" />
<text
- style="font-size:18px;text-anchor:middle;text-align:center;font-family:Bitstream Vera Sans">
+ style="font-size:16px;text-anchor:middle;text-align:center;font-family:Bitstream Vera Sans">
<tspan
x="37"
- y="26"
- style="font-size:18px;">pd</tspan>
+ y="20"
+ style="font-size:16px;">pen</tspan>
+ </text>
+ <text
+ style="font-size:16px;text-anchor:middle;text-align:center;font-family:Bitstream Vera Sans">
+ <tspan
+ x="37"
+ y="33"
+ style="font-size:16px;">down</tspan>
</text>
</svg>
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" />
<text
- style="font-size:18px;text-anchor:middle;text-align:center;font-family:Bitstream Vera Sans">
+ style="font-size:16px;text-anchor:middle;text-align:center;font-family:Bitstream Vera Sans">
<tspan
x="37"
- y="26"
- style="font-size:18px;">pu</tspan>
+ y="20"
+ style="font-size:16px;">pen</tspan>
+ </text>
+ <text
+ style="font-size:16px;text-anchor:middle;text-align:center;font-family:Bitstream Vera Sans">
+ <tspan
+ x="37"
+ y="33"
+ style="font-size:16px;">up</tspan>
</text>
</svg>
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