Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2011-05-21 13:58:29 (GMT)
committer Walter Bender <walter.bender@gmail.com>2011-05-21 13:58:29 (GMT)
commit37ee096b53cbbe715bb8c418f104507cd416aad5 (patch)
tree0af6d8a09acc6e88c6f31b940e49457364e4ce81
parenta9dbd9d8c68a985dfff0ba3650e2cffc040fe1e9 (diff)
new icons
-rw-r--r--InfusedActivity.py18
-rw-r--r--icons/listen.svg49
-rw-r--r--icons/read.svg38
3 files changed, 100 insertions, 5 deletions
diff --git a/InfusedActivity.py b/InfusedActivity.py
index dbe9b35..2748097 100644
--- a/InfusedActivity.py
+++ b/InfusedActivity.py
@@ -288,7 +288,7 @@ class InfusedActivity(activity.Activity):
_separator_factory(primary_toolbar)
self._read_button = _button_factory(
- 'go-down', _('Read the sounds one at a time'),
+ 'read', _('Read the sounds one at a time'),
self._read_cb, primary_toolbar)
_separator_factory(primary_toolbar)
@@ -366,8 +366,10 @@ class InfusedActivity(activity.Activity):
self._page.new_page()
self.reading = False
self.testing = False
- self._read_button.set_icon('go-down')
+ self._read_button.set_icon('read')
self._read_button.set_tooltip(_('Show letter'))
+ self._test_button.set_icon('go-right')
+ self._test_button.set_tooltip(_('Self test'))
def _next_page_cb(self, button=None):
''' Start a new letter. '''
@@ -375,9 +377,11 @@ class InfusedActivity(activity.Activity):
self._page.new_page()
self.reading = False
self.testing = False
- self._read_button.set_icon('go-down')
+ self._read_button.set_icon('read')
self._read_button.set_tooltip(_('Show letter'))
self._prev_page_button.set_icon('previous-letter')
+ self._test_button.set_icon('go-right')
+ self._test_button.set_tooltip(_('Self test'))
def _read_cb(self, button=None):
''' Start a new page. '''
@@ -385,14 +389,18 @@ class InfusedActivity(activity.Activity):
self.reading = True
self.testing = False
self._page.read()
- self._read_button.set_icon('go-up')
+ self._read_button.set_icon('listen')
self._read_button.set_tooltip(_('Show letter'))
+ self._test_button.set_icon('go-right')
+ self._test_button.set_tooltip(_('Self test'))
else:
self.reading = False
self.testing = False
self._page.reload()
- self._read_button.set_icon('go-down')
+ self._read_button.set_icon('read')
self._read_button.set_tooltip(_('Read the sounds one at a time'))
+ self._test_button.set_icon('go-right')
+ self._test_button.set_tooltip(_('Self test'))
def _test_cb(self, button=None):
''' Start a test. '''
diff --git a/icons/listen.svg b/icons/listen.svg
new file mode 100644
index 0000000..201a280
--- /dev/null
+++ b/icons/listen.svg
@@ -0,0 +1,49 @@
+<?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"
+ style="fill:#ffffff;stroke:#000000;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round">
+ <metadata
+ id="metadata20">
+ <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="defs18" />
+ <rect
+ width="44.404602"
+ height="30.412962"
+ ry="0"
+ x="6.1161056"
+ y="11.935916"
+ id="rect2997"
+ style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+ <text
+ x="16.159618"
+ y="38.136364"
+ id="text13"
+ style="font-size:38.96828842px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill-opacity:1;stroke:none;font-family:Sans">
+ <tspan
+ x="16.159618"
+ y="38.136364"
+ id="tspan8"
+ style="font-size:38.96828842px;fill:#000000">a</tspan>
+ </text>
+</svg>
diff --git a/icons/read.svg b/icons/read.svg
new file mode 100644
index 0000000..32b01cb
--- /dev/null
+++ b/icons/read.svg
@@ -0,0 +1,38 @@
+<?xml version="1.0" ?><!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd' [
+ <!ENTITY stroke_color "#000">
+ <!ENTITY fill_color "#fff">
+]><svg height="55px" viewBox="0 0 55 55" width="55px" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" stroke-linecap="round" stroke-linejoin="round" stroke-width="3.5" stroke="&stroke_color;" fill="&fill_color;">
+ <g>
+ <path
+ d="m 27.503,10.705131 h -0.002 c 0,-0.002 -1.71,-2.0530005 -9.376,-2.5040005 -7.666,-0.449 -11.683,1.602 -11.686,1.603 C 4.541,10.423131 2.944,11.539131 2.944,13.298131 v 27.702 c 0,2.025 1.235,3.494 3.495,3.494 0.003,0 4.41,-1.35 10.004,-1.35 5.589,-0.001 11.061,2.253 11.061,2.253"
+ fill="&fill_color;" stroke="&stroke_color;"
+ style="fill-opacity:1;stroke-width:3.5;stroke-linejoin:round;display:inline" />
+ <path
+ d="m 27.497,10.705131 0,0 c 0,-0.002 1.715,-2.0530005 9.377,-2.5040005 7.668,-0.449 11.686,1.602 11.688,1.603 1.897,0.6190005 3.494,1.7350005 3.494,3.4940005 v 27.702 c 0,2.025 -1.233,3.494 -3.494,3.494 -0.003,0 -4.409,-1.35 -10.004,-1.35 -5.589,-0.001 -11.062,2.253 -11.062,2.253"
+ fill="&fill_color;" stroke="&stroke_color;"
+ style="fill-opacity:1;stroke-width:3.5;stroke-linejoin:round;display:inline" />
+ <line
+ fill="&fill_color;" stroke="&stroke_color;"
+ style="fill-opacity:1;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round;display:inline"
+ x1="27.497002"
+ x2="27.499001"
+ y1="10.705131"
+ y2="45.399128"
+ id="line3064" />
+ <path
+ d="m 32.165,43.957131 c 0,0 -0.031,2.906 -4.666,2.906 -4.632,0 -4.663,-2.906 -4.663,-2.906"
+ fill="&stroke_color;" stroke="&stroke_color;"
+ style="stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round;display:inline" />
+ </g>
+ <text
+ x="28.15962"
+ y="36.948204"
+ style="font-size:38.96828842px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill-opacity:1;stroke:none;font-family:Sans">
+ <tspan
+ x="28.15962"
+ y="36.948204"
+ id="tspan8"
+ fill="&stroke_color;" stroke="none;"
+ style="font-size:38.96828842px;">a</tspan>
+ </text>
+</svg>