diff options
author | Alex <alex@Tiresias.(none)> | 2008-07-08 21:36:23 (GMT) |
---|---|---|
committer | Alex <alex@Tiresias.(none)> | 2008-07-08 21:36:23 (GMT) |
commit | 734a51cf58906cfca000e88a4ea7aea888b04c69 (patch) | |
tree | b310154f0e04989d2165e4457226e666b75876c6 | |
parent | d610e626c0f6085fa27de62a3113ef722a310f85 (diff) |
renamed icons to be more descriptive
-rw-r--r-- | activity.py | 4 | ||||
-rwxr-xr-x | icons/activity-button1.svg | 15 | ||||
-rwxr-xr-x | icons/activity-button2.svg | 16 |
3 files changed, 2 insertions, 33 deletions
diff --git a/activity.py b/activity.py index 99e11e8..4d3638b 100644 --- a/activity.py +++ b/activity.py @@ -13,13 +13,13 @@ class PhysicsActivity(olpcgames.PyGameActivity): toolbar = super(PhysicsActivity, self).build_toolbar() # Add buttons - toolbar.button1 = ToolButton('activity-button1') + toolbar.button1 = ToolButton('minus') toolbar.button1.set_tooltip(_('Button One')) toolbar.button1.connect('clicked', self._button1_cb) toolbar.insert(toolbar.button1, 2) toolbar.button1.show() - toolbar.button2 = ToolButton('activity-button2') + toolbar.button2 = ToolButton('plus') toolbar.button2.set_tooltip(_('button-2')) toolbar.button2.connect('clicked', self._button2_cb) toolbar.insert(toolbar.button2, 2) diff --git a/icons/activity-button1.svg b/icons/activity-button1.svg deleted file mode 100755 index 5b1caef..0000000 --- a/icons/activity-button1.svg +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 13.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 14948) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
- <!ENTITY fill_color "#FFFFFF">
- <!ENTITY stroke_color "#000000">
-]>
-<svg version="1.1" id="Layer_5" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="74.5px" height="74px" viewBox="0 0 74.5 74" enable-background="new 0 0 74.5 74" xml:space="preserve">
-<g>
- <circle cx="37.026" cy="37.18" r="30" fill="&fill_color;"/>
- <g>
- <line fill="none" stroke="&stroke_color;" stroke-width="4" x1="55.026" y1="37.18" x2="19.026" y2="37.18"/>
- </g>
-</g>
-</svg>
diff --git a/icons/activity-button2.svg b/icons/activity-button2.svg deleted file mode 100755 index e1fc560..0000000 --- a/icons/activity-button2.svg +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 13.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 14948) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
- <!ENTITY fill_color "#FFFFFF">
- <!ENTITY stroke_color "#000000">
-]>
-<svg version="1.1" id="Layer_5" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="74.5px" height="74px" viewBox="0 0 74.5 74" enable-background="new 0 0 74.5 74" xml:space="preserve">
-<g>
- <circle cx="37.026" cy="37.18" r="30" fill="&fill_color;"/>
- <g>
- <line fill="none" stroke="&stroke_color;" stroke-width="4" x1="37.026" y1="19.18" x2="37.026" y2="55.18"/>
- <line fill="none" stroke="&stroke_color;" stroke-width="4" x1="55.026" y1="37.18" x2="19.026" y2="37.18"/>
- </g>
-</g>
-</svg>
|