Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorPootle daemon <pootle@pootle.sugarlabs.org>2011-08-29 04:16:16 (GMT)
committer Pootle daemon <pootle@pootle.sugarlabs.org>2011-08-29 04:16:16 (GMT)
commit5665b24048a2577d50a39bd4b6928754972e988a (patch)
tree1a243d176eea8d6db51211f44b68c54bed2e4826 /plugins
parentecb5e001f04de664b54b47ce310a067187fe3aa0 (diff)
parent0c8c1663c2238ed2f5899ee946d2b8e68b7ccb23 (diff)
Merge branch 'master' of git.sugarlabs.org:turtleart/mainline
Diffstat (limited to 'plugins')
-rw-r--r--plugins/accelerometer/__init__.py0
-rw-r--r--plugins/accelerometer/accelerometer.py90
-rw-r--r--plugins/accelerometer/icons/sensoroff.svg36
-rw-r--r--plugins/accelerometer/icons/sensoron.svg41
-rw-r--r--plugins/audio_sensors/audio_sensors.py3
-rw-r--r--plugins/audio_sensors/icons/sensoroff.svg9
-rw-r--r--plugins/camera_sensor/camera_sensor.py7
-rw-r--r--plugins/camera_sensor/icons/sensoroff.svg9
-rw-r--r--plugins/light_sensor/__init__.py0
-rw-r--r--plugins/light_sensor/icons/sensoroff.svg36
-rw-r--r--plugins/light_sensor/icons/sensoron.svg41
-rw-r--r--plugins/light_sensor/light_sensor.py86
-rw-r--r--plugins/rfid/icons/sensoroff.svg9
-rw-r--r--plugins/turtle_blocks_extras/icons/extrasoff.svg7
-rw-r--r--plugins/turtle_blocks_extras/icons/mediaoff.svg7
-rw-r--r--plugins/turtle_blocks_extras/icons/portfoliooff.svg9
-rw-r--r--plugins/turtle_blocks_extras/icons/sensoroff.svg9
17 files changed, 344 insertions, 55 deletions
diff --git a/plugins/accelerometer/__init__.py b/plugins/accelerometer/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/plugins/accelerometer/__init__.py
diff --git a/plugins/accelerometer/accelerometer.py b/plugins/accelerometer/accelerometer.py
new file mode 100644
index 0000000..615b253
--- /dev/null
+++ b/plugins/accelerometer/accelerometer.py
@@ -0,0 +1,90 @@
+#!/usr/bin/env python
+#Copyright (c) 2011 Walter Bender
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+import os
+
+from gettext import gettext as _
+
+from plugins.plugin import Plugin
+
+from TurtleArt.tapalette import make_palette
+from TurtleArt.talogo import primitive_dictionary
+from TurtleArt.tautils import debug_output
+
+import logging
+_logger = logging.getLogger('turtleart-activity accelerometer plugin')
+
+
+ACCELEROMETER_DEVICE = '/sys/devices/platform/lis3lv02d/position'
+
+
+class Accelerometer(Plugin):
+
+ def __init__(self, parent):
+ self._parent = parent
+ if os.path.exists(ACCELEROMETER_DEVICE):
+ self._status = True
+ else:
+ self._status = False
+ self.running_sugar = self._parent.running_sugar
+
+ def setup(self):
+ # set up accelerometer specific blocks
+ palette = make_palette('sensor',
+ colors=["#FF6060", "#A06060"],
+ help_string=_('Palette of sensor blocks'))
+
+ primitive_dictionary['xyz'] = self.prim_xyz
+ if self._status:
+ palette.add_block('xyz',
+ style='basic-style-extended-vertical',
+ label=_('acceleration'),
+ help_string=\
+ _('push accereration in x, y, z to heap'),
+ prim_name='xyz')
+ else:
+ palette.add_block('xyz',
+ style='basic-style-extended-vertical',
+ label=_('acceleration'),
+ help_string=\
+ _('push accereration in x, y, z to heap'),
+ hidden=True,
+ prim_name='xyz')
+
+ self._parent.lc.def_prim(
+ 'xyz', 0, lambda self: primitive_dictionary['xyz']())
+
+ def _status_report(self):
+ debug_output('Reporting accelerator status: %s' % (str(self._status)))
+ return self._status
+
+ # Block primitives used in talogo
+
+ def prim_xyz(self):
+ ''' push accelerometer xyz to stack '''
+ if not self._status:
+ self._parent.lc.heap.append(0)
+ self._parent.lc.heap.append(0)
+ self._parent.lc.heap.append(0)
+ else:
+ fh = open(ACCELEROMETER_DEVICE)
+ string = fh.read()
+ xyz = string[1:-2].split(',')
+ self._parent.lc.heap.append(float(xyz[2]) / 18)
+ self._parent.lc.heap.append(float(xyz[1]) / 18)
+ self._parent.lc.heap.append(float(xyz[0]) / 18)
+ fh.close()
diff --git a/plugins/accelerometer/icons/sensoroff.svg b/plugins/accelerometer/icons/sensoroff.svg
new file mode 100644
index 0000000..2d56090
--- /dev/null
+++ b/plugins/accelerometer/icons/sensoroff.svg
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.1"
+ width="55"
+ height="55"
+ viewBox="0 0 55 55"
+ id="svg2"
+ xml:space="preserve"><metadata
+ id="metadata15"><rdf:RDF><cc:Work
+ rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
+ id="defs13" />
+<g
+ transform="matrix(0.67,0,0,0.67,9.075,9.0749996)"
+ id="toolbar_x5F_view"
+ style="fill:#ffffff;fill-opacity:1;display:block">
+ <g
+ id="g5"
+ style="fill:#ffffff;fill-opacity:1">
+ <path
+ d="m 21.937,27.499 c 0,3.07 2.492,5.562 5.562,5.562 3.067,0 5.559,-2.492 5.559,-5.562 0,-3.067 -2.491,-5.564 -5.559,-5.564 -3.07,0 -5.562,2.497 -5.562,5.564 z"
+ id="path7"
+ style="fill:#ffffff;fill-opacity:1" />
+ <path
+ d="m 27.499,13.037 c -14.476,0 -26.531,14.432 -26.531,14.432 0,0 12.056,14.504 26.531,14.494 14.474,-0.01 26.533,-14.513 26.533,-14.513 0,0 -12.059,-14.425 -26.533,-14.413 z M 27.5,36.562 c -5.003,0 -9.063,-4.061 -9.063,-9.063 0,-4.998 4.061,-9.066 9.063,-9.066 4.997,0 9.058,4.068 9.058,9.066 0,5.003 -4.061,9.063 -9.058,9.063 z"
+ id="path9"
+ style="fill:#ffffff;fill-opacity:1" />
+ </g>
+</g></svg> \ No newline at end of file
diff --git a/plugins/accelerometer/icons/sensoron.svg b/plugins/accelerometer/icons/sensoron.svg
new file mode 100644
index 0000000..e902656
--- /dev/null
+++ b/plugins/accelerometer/icons/sensoron.svg
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.1"
+ width="55"
+ height="55"
+ viewBox="0 0 55 55"
+ id="svg2"
+ xml:space="preserve"><metadata
+ id="metadata15"><rdf:RDF><cc:Work
+ rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
+ id="defs13" /><rect
+ width="55"
+ height="55"
+ x="0"
+ y="0"
+ id="rect3269"
+ style="fill:#ffd200;fill-opacity:1;fill-rule:nonzero;stroke:none" /><g
+ transform="matrix(0.67,0,0,0.67,9.075,9.0749996)"
+ id="toolbar_x5F_view"
+ style="fill:#ff0000;fill-opacity:1;display:block">
+ <g
+ id="g5"
+ style="fill:#ff0000;fill-opacity:1">
+ <path
+ d="m 21.937,27.499 c 0,3.07 2.492,5.562 5.562,5.562 3.067,0 5.559,-2.492 5.559,-5.562 0,-3.067 -2.491,-5.564 -5.559,-5.564 -3.07,0 -5.562,2.497 -5.562,5.564 z"
+ id="path7"
+ style="fill:#ff0000;fill-opacity:1" />
+ <path
+ d="m 27.499,13.037 c -14.476,0 -26.531,14.432 -26.531,14.432 0,0 12.056,14.504 26.531,14.494 14.474,-0.01 26.533,-14.513 26.533,-14.513 0,0 -12.059,-14.425 -26.533,-14.413 z M 27.5,36.562 c -5.003,0 -9.063,-4.061 -9.063,-9.063 0,-4.998 4.061,-9.066 9.063,-9.066 4.997,0 9.058,4.068 9.058,9.066 0,5.003 -4.061,9.063 -9.058,9.063 z"
+ id="path9"
+ style="fill:#ff0000;fill-opacity:1" />
+ </g>
+</g></svg> \ No newline at end of file
diff --git a/plugins/audio_sensors/audio_sensors.py b/plugins/audio_sensors/audio_sensors.py
index 22298a0..bf28776 100644
--- a/plugins/audio_sensors/audio_sensors.py
+++ b/plugins/audio_sensors/audio_sensors.py
@@ -32,7 +32,7 @@ from plugins.audio_sensors.audiograb import AudioGrab_Unknown, AudioGrab_XO1, \
from plugins.audio_sensors.ringbuffer import RingBuffer1d
from TurtleArt.tapalette import make_palette
-from TurtleArt.taconstants import XO1, XO15
+from TurtleArt.taconstants import XO1, XO15, XO175
from TurtleArt.talogo import primitive_dictionary
from TurtleArt.tautils import debug_output
@@ -132,6 +132,7 @@ class Audio_sensors(Plugin):
primitive_dictionary['resistance'] = self.prim_resistance
primitive_dictionary['voltage'] = self.prim_voltage
+ # FIXME: XO175 drivers don't work yet
if self.hw in [XO1, XO15] and self._status:
if self.hw == XO1:
self.voltage_gain = 0.00002225
diff --git a/plugins/audio_sensors/icons/sensoroff.svg b/plugins/audio_sensors/icons/sensoroff.svg
index ec55f03..2d56090 100644
--- a/plugins/audio_sensors/icons/sensoroff.svg
+++ b/plugins/audio_sensors/icons/sensoroff.svg
@@ -16,13 +16,8 @@
id="metadata15"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
- id="defs13" /><rect
- width="55"
- height="55"
- x="0"
- y="0"
- id="rect3269"
- style="fill:#282828;fill-opacity:1;fill-rule:nonzero;stroke:none" /><g
+ id="defs13" />
+<g
transform="matrix(0.67,0,0,0.67,9.075,9.0749996)"
id="toolbar_x5F_view"
style="fill:#ffffff;fill-opacity:1;display:block">
diff --git a/plugins/camera_sensor/camera_sensor.py b/plugins/camera_sensor/camera_sensor.py
index 7228b8b..5bd21ee 100644
--- a/plugins/camera_sensor/camera_sensor.py
+++ b/plugins/camera_sensor/camera_sensor.py
@@ -39,6 +39,7 @@ class Camera_sensor(Plugin):
def __init__(self, parent):
self._parent = parent
self._status = False
+ self._camera = None
v4l2src = gst.element_factory_make('v4l2src')
if v4l2src.props.device_name is not None:
@@ -49,7 +50,6 @@ class Camera_sensor(Plugin):
else:
self._imagepath = '/tmp/turtlepic.png'
- self._camera = None
self._status = True
def setup(self):
@@ -97,7 +97,8 @@ is pushed to the stack'),
hidden=True,
style='box-style',
label=_('brightness'),
- help_string=_('light level detected by camera'),
+ help_string=\
+ _('light level detected by camera'),
value_block=True,
prim_name='read_camera')
self._parent.lc.def_prim('luminance', 0,
@@ -133,7 +134,7 @@ is pushed to the stack'),
''' Initialize the camera if there is an camera block in use '''
if len(self._parent.block_list.get_similar_blocks('block',
['camera', 'read_camera', 'luminance'])) > 0:
- if self._camera is None:
+ if self._status and self._camera is None:
self._camera = Camera(self._imagepath)
def stop(self):
diff --git a/plugins/camera_sensor/icons/sensoroff.svg b/plugins/camera_sensor/icons/sensoroff.svg
index ec55f03..2d56090 100644
--- a/plugins/camera_sensor/icons/sensoroff.svg
+++ b/plugins/camera_sensor/icons/sensoroff.svg
@@ -16,13 +16,8 @@
id="metadata15"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
- id="defs13" /><rect
- width="55"
- height="55"
- x="0"
- y="0"
- id="rect3269"
- style="fill:#282828;fill-opacity:1;fill-rule:nonzero;stroke:none" /><g
+ id="defs13" />
+<g
transform="matrix(0.67,0,0,0.67,9.075,9.0749996)"
id="toolbar_x5F_view"
style="fill:#ffffff;fill-opacity:1;display:block">
diff --git a/plugins/light_sensor/__init__.py b/plugins/light_sensor/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/plugins/light_sensor/__init__.py
diff --git a/plugins/light_sensor/icons/sensoroff.svg b/plugins/light_sensor/icons/sensoroff.svg
new file mode 100644
index 0000000..2d56090
--- /dev/null
+++ b/plugins/light_sensor/icons/sensoroff.svg
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.1"
+ width="55"
+ height="55"
+ viewBox="0 0 55 55"
+ id="svg2"
+ xml:space="preserve"><metadata
+ id="metadata15"><rdf:RDF><cc:Work
+ rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
+ id="defs13" />
+<g
+ transform="matrix(0.67,0,0,0.67,9.075,9.0749996)"
+ id="toolbar_x5F_view"
+ style="fill:#ffffff;fill-opacity:1;display:block">
+ <g
+ id="g5"
+ style="fill:#ffffff;fill-opacity:1">
+ <path
+ d="m 21.937,27.499 c 0,3.07 2.492,5.562 5.562,5.562 3.067,0 5.559,-2.492 5.559,-5.562 0,-3.067 -2.491,-5.564 -5.559,-5.564 -3.07,0 -5.562,2.497 -5.562,5.564 z"
+ id="path7"
+ style="fill:#ffffff;fill-opacity:1" />
+ <path
+ d="m 27.499,13.037 c -14.476,0 -26.531,14.432 -26.531,14.432 0,0 12.056,14.504 26.531,14.494 14.474,-0.01 26.533,-14.513 26.533,-14.513 0,0 -12.059,-14.425 -26.533,-14.413 z M 27.5,36.562 c -5.003,0 -9.063,-4.061 -9.063,-9.063 0,-4.998 4.061,-9.066 9.063,-9.066 4.997,0 9.058,4.068 9.058,9.066 0,5.003 -4.061,9.063 -9.058,9.063 z"
+ id="path9"
+ style="fill:#ffffff;fill-opacity:1" />
+ </g>
+</g></svg> \ No newline at end of file
diff --git a/plugins/light_sensor/icons/sensoron.svg b/plugins/light_sensor/icons/sensoron.svg
new file mode 100644
index 0000000..e902656
--- /dev/null
+++ b/plugins/light_sensor/icons/sensoron.svg
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.1"
+ width="55"
+ height="55"
+ viewBox="0 0 55 55"
+ id="svg2"
+ xml:space="preserve"><metadata
+ id="metadata15"><rdf:RDF><cc:Work
+ rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
+ id="defs13" /><rect
+ width="55"
+ height="55"
+ x="0"
+ y="0"
+ id="rect3269"
+ style="fill:#ffd200;fill-opacity:1;fill-rule:nonzero;stroke:none" /><g
+ transform="matrix(0.67,0,0,0.67,9.075,9.0749996)"
+ id="toolbar_x5F_view"
+ style="fill:#ff0000;fill-opacity:1;display:block">
+ <g
+ id="g5"
+ style="fill:#ff0000;fill-opacity:1">
+ <path
+ d="m 21.937,27.499 c 0,3.07 2.492,5.562 5.562,5.562 3.067,0 5.559,-2.492 5.559,-5.562 0,-3.067 -2.491,-5.564 -5.559,-5.564 -3.07,0 -5.562,2.497 -5.562,5.564 z"
+ id="path7"
+ style="fill:#ff0000;fill-opacity:1" />
+ <path
+ d="m 27.499,13.037 c -14.476,0 -26.531,14.432 -26.531,14.432 0,0 12.056,14.504 26.531,14.494 14.474,-0.01 26.533,-14.513 26.533,-14.513 0,0 -12.059,-14.425 -26.533,-14.413 z M 27.5,36.562 c -5.003,0 -9.063,-4.061 -9.063,-9.063 0,-4.998 4.061,-9.066 9.063,-9.066 4.997,0 9.058,4.068 9.058,9.066 0,5.003 -4.061,9.063 -9.058,9.063 z"
+ id="path9"
+ style="fill:#ff0000;fill-opacity:1" />
+ </g>
+</g></svg> \ No newline at end of file
diff --git a/plugins/light_sensor/light_sensor.py b/plugins/light_sensor/light_sensor.py
new file mode 100644
index 0000000..bf07f95
--- /dev/null
+++ b/plugins/light_sensor/light_sensor.py
@@ -0,0 +1,86 @@
+#!/usr/bin/env python
+#Copyright (c) 2011 Walter Bender
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+import os
+
+from gettext import gettext as _
+
+from plugins.plugin import Plugin
+
+from TurtleArt.tapalette import make_palette
+from TurtleArt.talogo import primitive_dictionary
+from TurtleArt.tautils import debug_output
+
+import logging
+_logger = logging.getLogger('turtleart-activity light-sensor plugin')
+
+
+LIGHT_SENSOR_DEVICE = '/sys/devices/platform/olpc-ols.0/power_state'
+
+
+class Light_sensor(Plugin):
+
+ def __init__(self, parent):
+ self._parent = parent
+ if os.path.exists(LIGHT_SENSOR_DEVICE):
+ self._status = True
+ else:
+ self._status = False
+ self.running_sugar = self._parent.running_sugar
+
+ def setup(self):
+ # set up light-sensor specific blocks
+ palette = make_palette('sensor',
+ colors=["#FF6060", "#A06060"],
+ help_string=_('Palette of sensor blocks'))
+
+ primitive_dictionary['lightsensor'] = self.prim_lightsensor
+ if self._status:
+ palette.add_block('lightsensor',
+ style='box-style',
+ label=_('brightness'),
+ help_string=\
+ _('light level detected by light sensor'),
+ prim_name='lightsensor')
+ else:
+ palette.add_block('lightsensor',
+ style='box-style',
+ label=_('brightness'),
+ help_string=\
+ _('light level detected by light sensor'),
+ hidden=True,
+ prim_name='lightsensor')
+
+ self._parent.lc.def_prim(
+ 'lightsensor', 0,
+ lambda self: primitive_dictionary['lightsensor']())
+
+ def _status_report(self):
+ debug_output('Reporting light-sensor status: %s' % (str(self._status)))
+ return self._status
+
+ # Block primitives used in talogo
+
+ def prim_lightsensor(self):
+ ''' push accelerometer xyz to stack '''
+ if not self._status:
+ return -1
+ else:
+ fh = open(LIGHT_SENSOR_DEVICE)
+ string = fh.read()
+ fh.close()
+ return float(string)
diff --git a/plugins/rfid/icons/sensoroff.svg b/plugins/rfid/icons/sensoroff.svg
index ec55f03..2d56090 100644
--- a/plugins/rfid/icons/sensoroff.svg
+++ b/plugins/rfid/icons/sensoroff.svg
@@ -16,13 +16,8 @@
id="metadata15"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
- id="defs13" /><rect
- width="55"
- height="55"
- x="0"
- y="0"
- id="rect3269"
- style="fill:#282828;fill-opacity:1;fill-rule:nonzero;stroke:none" /><g
+ id="defs13" />
+<g
transform="matrix(0.67,0,0,0.67,9.075,9.0749996)"
id="toolbar_x5F_view"
style="fill:#ffffff;fill-opacity:1;display:block">
diff --git a/plugins/turtle_blocks_extras/icons/extrasoff.svg b/plugins/turtle_blocks_extras/icons/extrasoff.svg
index 7975a9d..e944152 100644
--- a/plugins/turtle_blocks_extras/icons/extrasoff.svg
+++ b/plugins/turtle_blocks_extras/icons/extrasoff.svg
@@ -25,13 +25,6 @@
</metadata>
<defs
id="defs8" />
- <rect
- width="55"
- height="55"
- x="0"
- y="0"
- id="rect3269"
- style="fill:#282828;fill-opacity:1;fill-rule:nonzero;stroke:none" />
<g
transform="matrix(0.64,0,0,0.63959066,9.90448,9.9400384)"
id="g3">
diff --git a/plugins/turtle_blocks_extras/icons/mediaoff.svg b/plugins/turtle_blocks_extras/icons/mediaoff.svg
index b2f460a..69fdda8 100644
--- a/plugins/turtle_blocks_extras/icons/mediaoff.svg
+++ b/plugins/turtle_blocks_extras/icons/mediaoff.svg
@@ -9,13 +9,6 @@
width="55"
height="55"
id="svg2">
- <rect
- width="55"
- height="55"
- x="0"
- y="0"
- id="rect3269"
- style="fill:#282828;fill-opacity:1;fill-rule:nonzero;stroke:none" />
` <g
transform="matrix(0.67,0,0,0.67,9.075,9.075)"
id="g2855">
diff --git a/plugins/turtle_blocks_extras/icons/portfoliooff.svg b/plugins/turtle_blocks_extras/icons/portfoliooff.svg
index d404bab..9f9ad44 100644
--- a/plugins/turtle_blocks_extras/icons/portfoliooff.svg
+++ b/plugins/turtle_blocks_extras/icons/portfoliooff.svg
@@ -24,15 +24,6 @@
</metadata>
<defs
id="defs12" />
-<rect
- width="55"
- height="55"
- x="0"
- y="0"
- id="rect3269"
- style="fill:#282828;fill-opacity:1;fill-rule:nonzero;stroke:none" />
-
-
` <g
transform="matrix(0.8501594,0,0,0.8501594,4.1206165,2.9055499)"
id="g3041">
diff --git a/plugins/turtle_blocks_extras/icons/sensoroff.svg b/plugins/turtle_blocks_extras/icons/sensoroff.svg
index ec55f03..2d56090 100644
--- a/plugins/turtle_blocks_extras/icons/sensoroff.svg
+++ b/plugins/turtle_blocks_extras/icons/sensoroff.svg
@@ -16,13 +16,8 @@
id="metadata15"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
- id="defs13" /><rect
- width="55"
- height="55"
- x="0"
- y="0"
- id="rect3269"
- style="fill:#282828;fill-opacity:1;fill-rule:nonzero;stroke:none" /><g
+ id="defs13" />
+<g
transform="matrix(0.67,0,0,0.67,9.075,9.0749996)"
id="toolbar_x5F_view"
style="fill:#ffffff;fill-opacity:1;display:block">