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-04-19 14:16:04 (GMT)
committer Walter Bender <walter.bender@gmail.com>2011-04-19 14:16:04 (GMT)
commitd465e4af3900f692b6dfe9b7fae0d8ec4620741b (patch)
treebc21b264d0a1ef2d94307532b3b5aabc93de28eb
parent025b02709e848066ca7247427bd7e68d74f71291 (diff)
changing icon for clear button
-rw-r--r--NapierActivity.py2
-rw-r--r--icons/erase.svg38
-rw-r--r--icons/new-game.svg19
3 files changed, 39 insertions, 20 deletions
diff --git a/NapierActivity.py b/NapierActivity.py
index 4960823..de714d6 100644
--- a/NapierActivity.py
+++ b/NapierActivity.py
@@ -304,7 +304,7 @@ class NapierActivity(activity.Activity):
_separator_factory(self.toolbar)
self._new_calc_button = _button_factory(
- 'new-game', _('Clear'), self._new_calc_cb, self.toolbar)
+ 'erase', _('Clear'), self._new_calc_cb, self.toolbar)
self._status = _label_factory('', self.toolbar)
diff --git a/icons/erase.svg b/icons/erase.svg
new file mode 100644
index 0000000..27a5ffd
--- /dev/null
+++ b/icons/erase.svg
@@ -0,0 +1,38 @@
+<?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="50"
+ height="43"
+ id="svg2">
+ <defs
+ id="defs5" />
+ <g
+ transform="translate(0.61535009,0.25)"
+ id="g3589"
+ style="fill:#404040;fill-opacity:1;stroke:#ffffff;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none">
+ <path
+ d="M 36,25.875 L 36,17.5 48.5,4 47,14.5 36,25.875 z"
+ id="path2394"
+ style="fill:#404040;fill-opacity:1;stroke:#ffffff;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+ <path
+ d="M 15,17.5 L 28.5,4 48.5,4 36,17.5 l -21,0 z"
+ id="path2390"
+ style="fill:#404040;fill-opacity:1;stroke:#ffffff;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+ <path
+ d="M 22.800718,38.5 L 25.493716,28.5 36,17.5 36,25.875 22.800718,38.5 z"
+ id="path2392"
+ style="fill:#404040;fill-opacity:1;stroke:#ffffff;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+ <path
+ d="M 3.9497307,28.5 L 15,17.5 l 21,0 -10.86535,11 -21.1849193,0 z"
+ id="path2388"
+ style="fill:#404040;fill-opacity:1;stroke:#ffffff;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+ <path
+ d="m 0.26929982,38.5 l 3.59066428,-10 21.1849189,0 -2.603231,10 -22.17235218,0 z"
+ id="path2384"
+ style="fill:#404040;fill-opacity:1;stroke:#ffffff;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+ </g>
+</svg>
diff --git a/icons/new-game.svg b/icons/new-game.svg
deleted file mode 100644
index 7dff35b..0000000
--- a/icons/new-game.svg
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Emacs -->
-
-<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"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- version="1.1"
- width="55"
- height="55">
- <path
- d="m 17,44 4,-13 -11,-8 13,0 5,-13 4,13 14,0 -11,8 4,13 -11,-8 z"
- id="path6"
- style="fill:none;stroke:#ffffff;stroke-width:3;stroke-linejoin:round;stroke-miterlimit:4" />
-</svg>