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-01-18 02:39:41 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2009-01-18 02:39:41 (GMT)
commit270d4813374b4ebae7899d8f97d3e274aa211d00 (patch)
treee5c93bbed8d7b1d38d3a2382db556e953c89de6d
parent93bfc5cd0de1340b4ab8695a2d6b7becd7dd2be8 (diff)
added run button to toolbar
-rw-r--r--images/en/toolbar/runoff.svg27
-rw-r--r--images/en/toolbar/runon.svg27
-rw-r--r--images/es/toolbar/runoff.svg27
-rw-r--r--images/es/toolbar/runon.svg27
-rw-r--r--images/fi/toolbar/runoff.svg27
-rw-r--r--images/fi/toolbar/runon.svg27
-rw-r--r--images/fr/toolbar/runoff.svg27
-rw-r--r--images/fr/toolbar/runon.svg27
-rw-r--r--images/mn/toolbar/runoff.svg27
-rw-r--r--images/mn/toolbar/runon.svg27
-rw-r--r--images/pt/toolbar/runoff.svg27
-rw-r--r--images/pt/toolbar/runon.svg27
-rw-r--r--images/ru/toolbar/runoff.svg27
-rw-r--r--images/ru/toolbar/runon.svg27
-rw-r--r--images/tr/toolbar/runoff.svg27
-rw-r--r--images/tr/toolbar/runon.svg27
-rw-r--r--tasetup.py3
-rw-r--r--tawindow.py18
18 files changed, 451 insertions, 2 deletions
diff --git a/images/en/toolbar/runoff.svg b/images/en/toolbar/runoff.svg
new file mode 100644
index 0000000..588182e
--- /dev/null
+++ b/images/en/toolbar/runoff.svg
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="45"
+ height="45"
+ viewBox="0 0 55 55"
+ id="svg2"
+ xml:space="preserve"><defs
+ id="defs12" /><g
+ id="activity-start"
+ style="fill:#808080;fill-opacity:1;display:block">
+ <g
+ id="g5"
+ style="fill:#808080;fill-opacity:1">
+ <polygon
+ points="22.277,19.683 36.071,27.501 22.277,35.317 22.277,19.683 "
+ id="polygon7"
+ style="fill:#808080;fill-opacity:1" />
+ <path
+ d="M 27.5,5 C 15.073,5 5,15.074 5,27.5 C 5,39.926 15.073,50 27.5,50 C 39.927,50 50,39.926 50,27.5 C 50,15.074 39.927,5 27.5,5 z M 41,38.333 L 14,38.333 L 14,16.667 L 41,16.667 L 41,38.333 z"
+ id="path9"
+ style="fill:#808080;fill-opacity:1" />
+ </g>
+</g></svg> \ No newline at end of file
diff --git a/images/en/toolbar/runon.svg b/images/en/toolbar/runon.svg
new file mode 100644
index 0000000..f3ba2f3
--- /dev/null
+++ b/images/en/toolbar/runon.svg
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="45"
+ height="45"
+ viewBox="0 0 55 55"
+ id="svg2"
+ xml:space="preserve"><defs
+ id="defs12" /><g
+ id="activity-start"
+ style="fill:#00c000;fill-opacity:1;display:block">
+ <g
+ id="g5"
+ style="fill:#00c000;fill-opacity:1">
+ <polygon
+ points="22.277,19.683 36.071,27.501 22.277,35.317 22.277,19.683 "
+ id="polygon7"
+ style="fill:#00c000;fill-opacity:1" />
+ <path
+ d="M 27.5,5 C 15.073,5 5,15.074 5,27.5 C 5,39.926 15.073,50 27.5,50 C 39.927,50 50,39.926 50,27.5 C 50,15.074 39.927,5 27.5,5 z M 41,38.333 L 14,38.333 L 14,16.667 L 41,16.667 L 41,38.333 z"
+ id="path9"
+ style="fill:#00c000;fill-opacity:1" />
+ </g>
+</g></svg>
diff --git a/images/es/toolbar/runoff.svg b/images/es/toolbar/runoff.svg
new file mode 100644
index 0000000..588182e
--- /dev/null
+++ b/images/es/toolbar/runoff.svg
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="45"
+ height="45"
+ viewBox="0 0 55 55"
+ id="svg2"
+ xml:space="preserve"><defs
+ id="defs12" /><g
+ id="activity-start"
+ style="fill:#808080;fill-opacity:1;display:block">
+ <g
+ id="g5"
+ style="fill:#808080;fill-opacity:1">
+ <polygon
+ points="22.277,19.683 36.071,27.501 22.277,35.317 22.277,19.683 "
+ id="polygon7"
+ style="fill:#808080;fill-opacity:1" />
+ <path
+ d="M 27.5,5 C 15.073,5 5,15.074 5,27.5 C 5,39.926 15.073,50 27.5,50 C 39.927,50 50,39.926 50,27.5 C 50,15.074 39.927,5 27.5,5 z M 41,38.333 L 14,38.333 L 14,16.667 L 41,16.667 L 41,38.333 z"
+ id="path9"
+ style="fill:#808080;fill-opacity:1" />
+ </g>
+</g></svg> \ No newline at end of file
diff --git a/images/es/toolbar/runon.svg b/images/es/toolbar/runon.svg
new file mode 100644
index 0000000..f3ba2f3
--- /dev/null
+++ b/images/es/toolbar/runon.svg
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="45"
+ height="45"
+ viewBox="0 0 55 55"
+ id="svg2"
+ xml:space="preserve"><defs
+ id="defs12" /><g
+ id="activity-start"
+ style="fill:#00c000;fill-opacity:1;display:block">
+ <g
+ id="g5"
+ style="fill:#00c000;fill-opacity:1">
+ <polygon
+ points="22.277,19.683 36.071,27.501 22.277,35.317 22.277,19.683 "
+ id="polygon7"
+ style="fill:#00c000;fill-opacity:1" />
+ <path
+ d="M 27.5,5 C 15.073,5 5,15.074 5,27.5 C 5,39.926 15.073,50 27.5,50 C 39.927,50 50,39.926 50,27.5 C 50,15.074 39.927,5 27.5,5 z M 41,38.333 L 14,38.333 L 14,16.667 L 41,16.667 L 41,38.333 z"
+ id="path9"
+ style="fill:#00c000;fill-opacity:1" />
+ </g>
+</g></svg>
diff --git a/images/fi/toolbar/runoff.svg b/images/fi/toolbar/runoff.svg
new file mode 100644
index 0000000..588182e
--- /dev/null
+++ b/images/fi/toolbar/runoff.svg
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="45"
+ height="45"
+ viewBox="0 0 55 55"
+ id="svg2"
+ xml:space="preserve"><defs
+ id="defs12" /><g
+ id="activity-start"
+ style="fill:#808080;fill-opacity:1;display:block">
+ <g
+ id="g5"
+ style="fill:#808080;fill-opacity:1">
+ <polygon
+ points="22.277,19.683 36.071,27.501 22.277,35.317 22.277,19.683 "
+ id="polygon7"
+ style="fill:#808080;fill-opacity:1" />
+ <path
+ d="M 27.5,5 C 15.073,5 5,15.074 5,27.5 C 5,39.926 15.073,50 27.5,50 C 39.927,50 50,39.926 50,27.5 C 50,15.074 39.927,5 27.5,5 z M 41,38.333 L 14,38.333 L 14,16.667 L 41,16.667 L 41,38.333 z"
+ id="path9"
+ style="fill:#808080;fill-opacity:1" />
+ </g>
+</g></svg> \ No newline at end of file
diff --git a/images/fi/toolbar/runon.svg b/images/fi/toolbar/runon.svg
new file mode 100644
index 0000000..f3ba2f3
--- /dev/null
+++ b/images/fi/toolbar/runon.svg
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="45"
+ height="45"
+ viewBox="0 0 55 55"
+ id="svg2"
+ xml:space="preserve"><defs
+ id="defs12" /><g
+ id="activity-start"
+ style="fill:#00c000;fill-opacity:1;display:block">
+ <g
+ id="g5"
+ style="fill:#00c000;fill-opacity:1">
+ <polygon
+ points="22.277,19.683 36.071,27.501 22.277,35.317 22.277,19.683 "
+ id="polygon7"
+ style="fill:#00c000;fill-opacity:1" />
+ <path
+ d="M 27.5,5 C 15.073,5 5,15.074 5,27.5 C 5,39.926 15.073,50 27.5,50 C 39.927,50 50,39.926 50,27.5 C 50,15.074 39.927,5 27.5,5 z M 41,38.333 L 14,38.333 L 14,16.667 L 41,16.667 L 41,38.333 z"
+ id="path9"
+ style="fill:#00c000;fill-opacity:1" />
+ </g>
+</g></svg>
diff --git a/images/fr/toolbar/runoff.svg b/images/fr/toolbar/runoff.svg
new file mode 100644
index 0000000..588182e
--- /dev/null
+++ b/images/fr/toolbar/runoff.svg
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="45"
+ height="45"
+ viewBox="0 0 55 55"
+ id="svg2"
+ xml:space="preserve"><defs
+ id="defs12" /><g
+ id="activity-start"
+ style="fill:#808080;fill-opacity:1;display:block">
+ <g
+ id="g5"
+ style="fill:#808080;fill-opacity:1">
+ <polygon
+ points="22.277,19.683 36.071,27.501 22.277,35.317 22.277,19.683 "
+ id="polygon7"
+ style="fill:#808080;fill-opacity:1" />
+ <path
+ d="M 27.5,5 C 15.073,5 5,15.074 5,27.5 C 5,39.926 15.073,50 27.5,50 C 39.927,50 50,39.926 50,27.5 C 50,15.074 39.927,5 27.5,5 z M 41,38.333 L 14,38.333 L 14,16.667 L 41,16.667 L 41,38.333 z"
+ id="path9"
+ style="fill:#808080;fill-opacity:1" />
+ </g>
+</g></svg> \ No newline at end of file
diff --git a/images/fr/toolbar/runon.svg b/images/fr/toolbar/runon.svg
new file mode 100644
index 0000000..f3ba2f3
--- /dev/null
+++ b/images/fr/toolbar/runon.svg
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="45"
+ height="45"
+ viewBox="0 0 55 55"
+ id="svg2"
+ xml:space="preserve"><defs
+ id="defs12" /><g
+ id="activity-start"
+ style="fill:#00c000;fill-opacity:1;display:block">
+ <g
+ id="g5"
+ style="fill:#00c000;fill-opacity:1">
+ <polygon
+ points="22.277,19.683 36.071,27.501 22.277,35.317 22.277,19.683 "
+ id="polygon7"
+ style="fill:#00c000;fill-opacity:1" />
+ <path
+ d="M 27.5,5 C 15.073,5 5,15.074 5,27.5 C 5,39.926 15.073,50 27.5,50 C 39.927,50 50,39.926 50,27.5 C 50,15.074 39.927,5 27.5,5 z M 41,38.333 L 14,38.333 L 14,16.667 L 41,16.667 L 41,38.333 z"
+ id="path9"
+ style="fill:#00c000;fill-opacity:1" />
+ </g>
+</g></svg>
diff --git a/images/mn/toolbar/runoff.svg b/images/mn/toolbar/runoff.svg
new file mode 100644
index 0000000..588182e
--- /dev/null
+++ b/images/mn/toolbar/runoff.svg
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="45"
+ height="45"
+ viewBox="0 0 55 55"
+ id="svg2"
+ xml:space="preserve"><defs
+ id="defs12" /><g
+ id="activity-start"
+ style="fill:#808080;fill-opacity:1;display:block">
+ <g
+ id="g5"
+ style="fill:#808080;fill-opacity:1">
+ <polygon
+ points="22.277,19.683 36.071,27.501 22.277,35.317 22.277,19.683 "
+ id="polygon7"
+ style="fill:#808080;fill-opacity:1" />
+ <path
+ d="M 27.5,5 C 15.073,5 5,15.074 5,27.5 C 5,39.926 15.073,50 27.5,50 C 39.927,50 50,39.926 50,27.5 C 50,15.074 39.927,5 27.5,5 z M 41,38.333 L 14,38.333 L 14,16.667 L 41,16.667 L 41,38.333 z"
+ id="path9"
+ style="fill:#808080;fill-opacity:1" />
+ </g>
+</g></svg> \ No newline at end of file
diff --git a/images/mn/toolbar/runon.svg b/images/mn/toolbar/runon.svg
new file mode 100644
index 0000000..f3ba2f3
--- /dev/null
+++ b/images/mn/toolbar/runon.svg
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="45"
+ height="45"
+ viewBox="0 0 55 55"
+ id="svg2"
+ xml:space="preserve"><defs
+ id="defs12" /><g
+ id="activity-start"
+ style="fill:#00c000;fill-opacity:1;display:block">
+ <g
+ id="g5"
+ style="fill:#00c000;fill-opacity:1">
+ <polygon
+ points="22.277,19.683 36.071,27.501 22.277,35.317 22.277,19.683 "
+ id="polygon7"
+ style="fill:#00c000;fill-opacity:1" />
+ <path
+ d="M 27.5,5 C 15.073,5 5,15.074 5,27.5 C 5,39.926 15.073,50 27.5,50 C 39.927,50 50,39.926 50,27.5 C 50,15.074 39.927,5 27.5,5 z M 41,38.333 L 14,38.333 L 14,16.667 L 41,16.667 L 41,38.333 z"
+ id="path9"
+ style="fill:#00c000;fill-opacity:1" />
+ </g>
+</g></svg>
diff --git a/images/pt/toolbar/runoff.svg b/images/pt/toolbar/runoff.svg
new file mode 100644
index 0000000..588182e
--- /dev/null
+++ b/images/pt/toolbar/runoff.svg
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="45"
+ height="45"
+ viewBox="0 0 55 55"
+ id="svg2"
+ xml:space="preserve"><defs
+ id="defs12" /><g
+ id="activity-start"
+ style="fill:#808080;fill-opacity:1;display:block">
+ <g
+ id="g5"
+ style="fill:#808080;fill-opacity:1">
+ <polygon
+ points="22.277,19.683 36.071,27.501 22.277,35.317 22.277,19.683 "
+ id="polygon7"
+ style="fill:#808080;fill-opacity:1" />
+ <path
+ d="M 27.5,5 C 15.073,5 5,15.074 5,27.5 C 5,39.926 15.073,50 27.5,50 C 39.927,50 50,39.926 50,27.5 C 50,15.074 39.927,5 27.5,5 z M 41,38.333 L 14,38.333 L 14,16.667 L 41,16.667 L 41,38.333 z"
+ id="path9"
+ style="fill:#808080;fill-opacity:1" />
+ </g>
+</g></svg> \ No newline at end of file
diff --git a/images/pt/toolbar/runon.svg b/images/pt/toolbar/runon.svg
new file mode 100644
index 0000000..f3ba2f3
--- /dev/null
+++ b/images/pt/toolbar/runon.svg
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="45"
+ height="45"
+ viewBox="0 0 55 55"
+ id="svg2"
+ xml:space="preserve"><defs
+ id="defs12" /><g
+ id="activity-start"
+ style="fill:#00c000;fill-opacity:1;display:block">
+ <g
+ id="g5"
+ style="fill:#00c000;fill-opacity:1">
+ <polygon
+ points="22.277,19.683 36.071,27.501 22.277,35.317 22.277,19.683 "
+ id="polygon7"
+ style="fill:#00c000;fill-opacity:1" />
+ <path
+ d="M 27.5,5 C 15.073,5 5,15.074 5,27.5 C 5,39.926 15.073,50 27.5,50 C 39.927,50 50,39.926 50,27.5 C 50,15.074 39.927,5 27.5,5 z M 41,38.333 L 14,38.333 L 14,16.667 L 41,16.667 L 41,38.333 z"
+ id="path9"
+ style="fill:#00c000;fill-opacity:1" />
+ </g>
+</g></svg>
diff --git a/images/ru/toolbar/runoff.svg b/images/ru/toolbar/runoff.svg
new file mode 100644
index 0000000..588182e
--- /dev/null
+++ b/images/ru/toolbar/runoff.svg
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="45"
+ height="45"
+ viewBox="0 0 55 55"
+ id="svg2"
+ xml:space="preserve"><defs
+ id="defs12" /><g
+ id="activity-start"
+ style="fill:#808080;fill-opacity:1;display:block">
+ <g
+ id="g5"
+ style="fill:#808080;fill-opacity:1">
+ <polygon
+ points="22.277,19.683 36.071,27.501 22.277,35.317 22.277,19.683 "
+ id="polygon7"
+ style="fill:#808080;fill-opacity:1" />
+ <path
+ d="M 27.5,5 C 15.073,5 5,15.074 5,27.5 C 5,39.926 15.073,50 27.5,50 C 39.927,50 50,39.926 50,27.5 C 50,15.074 39.927,5 27.5,5 z M 41,38.333 L 14,38.333 L 14,16.667 L 41,16.667 L 41,38.333 z"
+ id="path9"
+ style="fill:#808080;fill-opacity:1" />
+ </g>
+</g></svg> \ No newline at end of file
diff --git a/images/ru/toolbar/runon.svg b/images/ru/toolbar/runon.svg
new file mode 100644
index 0000000..f3ba2f3
--- /dev/null
+++ b/images/ru/toolbar/runon.svg
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="45"
+ height="45"
+ viewBox="0 0 55 55"
+ id="svg2"
+ xml:space="preserve"><defs
+ id="defs12" /><g
+ id="activity-start"
+ style="fill:#00c000;fill-opacity:1;display:block">
+ <g
+ id="g5"
+ style="fill:#00c000;fill-opacity:1">
+ <polygon
+ points="22.277,19.683 36.071,27.501 22.277,35.317 22.277,19.683 "
+ id="polygon7"
+ style="fill:#00c000;fill-opacity:1" />
+ <path
+ d="M 27.5,5 C 15.073,5 5,15.074 5,27.5 C 5,39.926 15.073,50 27.5,50 C 39.927,50 50,39.926 50,27.5 C 50,15.074 39.927,5 27.5,5 z M 41,38.333 L 14,38.333 L 14,16.667 L 41,16.667 L 41,38.333 z"
+ id="path9"
+ style="fill:#00c000;fill-opacity:1" />
+ </g>
+</g></svg>
diff --git a/images/tr/toolbar/runoff.svg b/images/tr/toolbar/runoff.svg
new file mode 100644
index 0000000..588182e
--- /dev/null
+++ b/images/tr/toolbar/runoff.svg
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="45"
+ height="45"
+ viewBox="0 0 55 55"
+ id="svg2"
+ xml:space="preserve"><defs
+ id="defs12" /><g
+ id="activity-start"
+ style="fill:#808080;fill-opacity:1;display:block">
+ <g
+ id="g5"
+ style="fill:#808080;fill-opacity:1">
+ <polygon
+ points="22.277,19.683 36.071,27.501 22.277,35.317 22.277,19.683 "
+ id="polygon7"
+ style="fill:#808080;fill-opacity:1" />
+ <path
+ d="M 27.5,5 C 15.073,5 5,15.074 5,27.5 C 5,39.926 15.073,50 27.5,50 C 39.927,50 50,39.926 50,27.5 C 50,15.074 39.927,5 27.5,5 z M 41,38.333 L 14,38.333 L 14,16.667 L 41,16.667 L 41,38.333 z"
+ id="path9"
+ style="fill:#808080;fill-opacity:1" />
+ </g>
+</g></svg> \ No newline at end of file
diff --git a/images/tr/toolbar/runon.svg b/images/tr/toolbar/runon.svg
new file mode 100644
index 0000000..f3ba2f3
--- /dev/null
+++ b/images/tr/toolbar/runon.svg
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="45"
+ height="45"
+ viewBox="0 0 55 55"
+ id="svg2"
+ xml:space="preserve"><defs
+ id="defs12" /><g
+ id="activity-start"
+ style="fill:#00c000;fill-opacity:1;display:block">
+ <g
+ id="g5"
+ style="fill:#00c000;fill-opacity:1">
+ <polygon
+ points="22.277,19.683 36.071,27.501 22.277,35.317 22.277,19.683 "
+ id="polygon7"
+ style="fill:#00c000;fill-opacity:1" />
+ <path
+ d="M 27.5,5 C 15.073,5 5,15.074 5,27.5 C 5,39.926 15.073,50 27.5,50 C 39.927,50 50,39.926 50,27.5 C 50,15.074 39.927,5 27.5,5 z M 41,38.333 L 14,38.333 L 14,16.667 L 41,16.667 L 41,38.333 z"
+ id="path9"
+ style="fill:#00c000;fill-opacity:1" />
+ </g>
+</g></svg>
diff --git a/tasetup.py b/tasetup.py
index 2f26094..649edeb 100644
--- a/tasetup.py
+++ b/tasetup.py
@@ -114,7 +114,8 @@ selectors = (
toolbaritems = (
('stopit',75),
('eraser',75),
- ('hideshow',75))
+ ('hideshow',75)
+ ('run',75))
dockdetails = {
'noarg': (('flow',True,37,5),('flow',False,37,44)),
diff --git a/tawindow.py b/tawindow.py
index 08fe410..d0765b4 100644
--- a/tawindow.py
+++ b/tawindow.py
@@ -384,6 +384,7 @@ def tooldispatch(tw, spr):
if spr.blocktype == 'hideshow': hideshow_blocks(tw,spr)
elif spr.blocktype == 'eraser': runtool(tw, spr, clearscreen, tw.turtle)
elif spr.blocktype == 'stopit': stop_logo(tw)
+ elif spr.blocktype == 'run': run(tw, spr)
def runtool(tw, spr, cmd, *args):
setshape(spr,spr.onshape)
@@ -399,7 +400,22 @@ def hideshow_blocks(tw,spr):
setshape(spr,spr.offshape)
inval(tw.turtle.canvas)
-
+def run(tw, spr):
+ print "you better run, turtle, run!!"
+ for b in blocks(tw):
+ if find_block_to_run(tw, b):
+ setshape(spr,spr.onshape)
+ run_stack(tw, b)
+ setshape(spr,spr.offshape)
+ return
+
+# find a stack to run (a stack without a hat)
+def find_block_to_run(tw, spr):
+ top = find_top_block(spr)
+ if spr == top and spr.proto.name[0:3] != 'hat':
+ return True
+ else:
+ return False
def blocks(tw): return [spr for spr in tw.sprites if spr.type == 'block']
def xy(event): return map(int, event.get_coords())