Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Francis <francis@sugarlabs.org>2012-07-10 01:03:04 (GMT)
committer Daniel Francis <francis@sugarlabs.org>2012-07-10 01:03:04 (GMT)
commit834b17c58616ce362e695e52bd78f85e62149474 (patch)
tree6b7b18c2dd77aae08970aa70b1b78c5ab7016128
parent42849083765bd2b5345281b847758a45586c8274 (diff)
Using cell-size icon instead of my own scale icon
-rw-r--r--icons/scale.svg12
-rw-r--r--toolbars.py3
2 files changed, 1 insertions, 14 deletions
diff --git a/icons/scale.svg b/icons/scale.svg
deleted file mode 100644
index 56d6020..0000000
--- a/icons/scale.svg
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
-"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="32" height="32">
- <rect x="7" y="7" width="24" height="24" style="fill: none; stroke: #FFFFFF; stroke-width:1" />
- <rect x="1" y="1" width="10" height="10" style="fill: none; stroke: #FFFFFF; stroke-width:1" />
- <line x1="4.5" y1="4.5" x2="20" y2="4.5" stroke="#FFFFFF" stroke-width="1" stroke-dasharray="2 2" />
- <line x1="20" y1="4.5" x2="20" y2="20" stroke="#FFFFFF" stroke-width="1" stroke-dasharray="2 2" />
- <line x1="4.5" y1="20" x2="20" y2="20" stroke="#FFFFFF" stroke-width="1" stroke-dasharray="2 2" />
- <line x1="4.5" y1="4.5" x2="4.5" y2="20" stroke="#FFFFFF" stroke-width="1" stroke-dasharray="2 2" />
- <path d="M 5,3 L 20,19 L23,16 L 23,23 L16,23 L19,20 L4,4 L5,3" stroke="#FFFFFF" fill="none" />
-</svg>
diff --git a/toolbars.py b/toolbars.py
index 65118cb..e7514e7 100644
--- a/toolbars.py
+++ b/toolbars.py
@@ -33,7 +33,6 @@ class ImageOptions(ToolbarButton):
ToolbarButton.__init__(self, icon_name='image-mode')
self.toolbar = gtk.Toolbar()
-
rotate_button = ToolButton("image-rotate")
rotate_button.set_tooltip("Rotate")
#rotate_button.connect("clicked", self.rotate_image)
@@ -91,7 +90,7 @@ class ImageToolbar(gtk.Toolbar):
self.width_percent = 1.
self.height_percent = 1.
- scale_button = ToolButton("scale")
+ scale_button = ToolButton("cell-size")
scale_button.set_tooltip('Picture Size')
scale_button.show()
scale_palette = scale_button.get_palette()