Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel QuiƱones <manuel.por.aca@gmail.com>2011-04-20 22:14:09 (GMT)
committer Manuel QuiƱones <manuel.por.aca@gmail.com>2011-04-20 22:14:09 (GMT)
commitb2f2d7e2c519504682236eba4cafa8287a777c59 (patch)
tree2fdff6daec3b922edae187367b52295c5520d027
parent770303d919ad089ee442c02fb856fca43c5aa773 (diff)
Stamp icon
-rw-r--r--icons/tool-stamp.svg122
-rw-r--r--toolbox.py3
2 files changed, 123 insertions, 2 deletions
diff --git a/icons/tool-stamp.svg b/icons/tool-stamp.svg
new file mode 100644
index 0000000..2a3ace3
--- /dev/null
+++ b/icons/tool-stamp.svg
@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<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:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ version="1.1"
+ x="0px"
+ y="0px"
+ width="55px"
+ height="55px"
+ viewBox="0 0 55 55"
+ enable-background="new 0 0 55 55"
+ xml:space="preserve"
+ id="svg2"
+ sodipodi:version="0.32"
+ inkscape:version="0.48.1 r9760"
+ sodipodi:docname="stamp.svg"
+ inkscape:output_extension="org.inkscape.output.svg.inkscape"
+ sodipodi:modified="true"><metadata
+ id="metadata10"><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="defs8">
+
+</defs><sodipodi:namedview
+ inkscape:window-height="693"
+ inkscape:window-width="1366"
+ inkscape:pageshadow="2"
+ inkscape:pageopacity="0.0"
+ guidetolerance="10.0"
+ gridtolerance="10.0"
+ objecttolerance="10.0"
+ borderopacity="1.0"
+ bordercolor="#666666"
+ pagecolor="#ffffff"
+ id="base"
+ inkscape:zoom="8.9274636"
+ inkscape:cx="34.877834"
+ inkscape:cy="26.152016"
+ inkscape:window-x="0"
+ inkscape:window-y="25"
+ inkscape:current-layer="svg2"
+ showgrid="false"
+ inkscape:window-maximized="1" />
+
+
+
+<path
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 84.708695,28.377703 -19.69915,0 0.01707,-1.710302 c 0.313444,-2.141866 2.1844,-4.719789 3.177515,-5.057654 l 10.15005,0 c 0,0 1.167236,-3.018039 2.473305,-3.163158 1.306068,-0.145119 0.94435,-7.590535 0.94435,-7.590535 0,0 -3.078113,-0.374709 -3.192613,-4.5090981 -0.07136,-2.576553 1.423887,-4.242029 5.541811,-4.046442"
+ id="path3957"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="cccccscsc" /><use
+ x="0"
+ y="0"
+ xlink:href="#path3957"
+ id="use4065"
+ transform="matrix(-1,0,0,1,168.82057,5.2700672e-8)"
+ width="55"
+ height="55" /><path
+ id="use4065-4"
+ style="fill:#ffffff;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 69.988314,61.877421 c 0.252546,-1.770392 0.976244,-4.506115 3.194588,-6.767956 l 10.15005,0 c 0,0 1.167236,-3.018039 2.473305,-3.163158 1.306068,-0.145119 0.94435,-7.590536 0.94435,-7.590536 0,0 -3.078113,-0.374709 -3.192613,-4.509097 -0.07136,-2.576553 1.423887,-4.242029 5.83104,-4.046442 4.407154,-0.195587 5.902401,1.469889 5.831041,4.046442 -0.1145,4.134388 -3.192613,4.509097 -3.192613,4.509097 0,0 -0.361718,7.445417 0.94435,7.590536 1.306069,0.145119 2.473305,3.163158 2.473305,3.163158 l 10.150053,0 c 2.21834,2.261841 2.94204,4.997564 3.19458,6.767956 l -19.400716,0 z"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="cccscscscsccccc" /><path
+ style="fill:none;stroke:#000000;stroke-width:0.50062037;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="m 65.17528,26.773621 38.34165,0.0281"
+ id="path4093"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="cc" /><path
+ style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="m 78.18891,21.637236 c 1.351814,1.622176 3.947296,1.622176 6.596851,1.622176"
+ id="path4095"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="cc" /><use
+ x="0"
+ y="0"
+ xlink:href="#path4095"
+ id="use4097"
+ transform="matrix(-1,0,0,1,168.54414,0)"
+ width="55"
+ height="55" /><path
+ style="fill:none;stroke:#000000;stroke-width:0.43943578;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="m 79.573345,9.3627663 c 1.044162,1.6221757 3.048951,1.6221757 5.095508,1.6221757"
+ id="path4095-5"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="cc" /><use
+ x="0"
+ y="0"
+ xlink:href="#path4095-5"
+ id="use4097-6"
+ transform="matrix(-1,0,0,1,168.54414,4.964343e-7)"
+ width="55"
+ height="55" /><path
+ style="fill:#ffffff;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="M 26.5625 12.375 C 22.120995 12.411571 20.609209 14.298275 20.6875 17.125 C 20.746122 19.241716 21.455801 20.547869 22.25 21.375 C 23.741475 22.632297 25.700095 23.179394 27.375 23.1875 C 28.433911 23.158056 29.576952 23.032294 30.59375 22.71875 C 30.593779 22.71816 30.59375 22.6875 30.59375 22.6875 C 30.59375 22.6875 30.816458 22.64412 31.15625 22.5 C 32.175626 22.067639 34.212006 20.753655 34.3125 17.125 C 34.396008 14.109827 32.657407 12.146117 27.5 12.375 C 27.177662 12.360695 26.8586 12.372562 26.5625 12.375 z M 24.46875 24.3125 C 24.505729 26.764709 24.414375 31.158819 23.3125 31.28125 C 22.105137 31.415401 21.036355 33.568208 20.625 34.5 C 22.482265 35.991783 24.995333 36.182999 27.34375 36.15625 C 29.729999 36.155749 32.249423 35.916094 34.34375 34.375 C 33.882989 33.366951 32.826049 31.407755 31.6875 31.28125 C 30.585626 31.158819 30.494271 26.764709 30.53125 24.3125 C 29.499845 24.565064 28.405974 24.677426 27.375 24.6875 C 26.495235 24.6875 25.473948 24.593186 24.46875 24.3125 z M 12.53125 34.96875 C 11.518506 35.313292 9.7182795 37.652816 9.03125 39.90625 L 45.96875 39.9375 C 45.288056 37.675514 43.485656 35.314708 42.46875 34.96875 L 35.25 34.96875 C 33.193912 37.188826 30.361472 37.773869 27.34375 37.65625 C 24.357499 37.655934 21.940962 37.424495 19.8125 34.96875 L 12.53125 34.96875 z M 8.8125 41.40625 L 8.78125 44.6875 L 27.5 44.6875 L 46.1875 44.6875 L 46.1875 41.4375 L 8.8125 41.40625 z "
+ id="use4065-2" /><path
+ id="use4065-2-5"
+ style="fill:#ffffff;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="m 1.7724505,93.226744 0.019976,-3.780038 c 0.3668031,-2.506487 2.5562611,-5.523263 3.7184391,-5.918644 l 7.8779444,0 c 0,0 1.365941,-3.531815 2.894348,-3.701638 1.528407,-0.169824 1.105112,-8.590293 1.105112,-8.590293 0,0 -3.602116,-0.730915 -3.736108,-5.569122 -0.08351,-3.015173 1.666283,-4.964171 6.82369,-4.735288 5.157407,-0.228883 6.907198,1.720115 6.82369,4.735288 -0.133992,4.838207 -3.736108,5.569122 -3.736108,5.569122 0,0 -0.423295,8.420469 1.105111,8.590293 1.528408,0.169823 2.894349,3.701638 2.894349,3.701638 l 7.877944,0 c 1.162178,0.395381 3.351636,3.412157 3.718439,5.918644 l 0.01998,3.780038 -18.703401,0 z"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccscscscscccccc" /><path
+ style="fill:none;stroke:#000000;stroke-width:1.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="m -1.6779401,89.215292 44.8687431,0.03288"
+ id="path4093-6-4"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="cc" /><path
+ id="use4097-4-2"
+ style="fill:none;stroke:#000000;stroke-width:1.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="m 13.195349,83.56023 c 1.58194,1.898328 4.619264,1.898328 7.118725,1.898328 2.49946,0 5.536784,0 7.118725,-1.898328"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccc" /><path
+ id="use4097-6-3-8"
+ style="fill:none;stroke:#000000;stroke-width:1.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="m 14.519882,69.422959 c 1.221915,1.898327 3.863571,2.456648 5.794192,2.456648 1.930621,0 4.802175,-0.26274 6.02409,-2.161067"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccc" /></svg> \ No newline at end of file
diff --git a/toolbox.py b/toolbox.py
index d1a4607..2c96c41 100644
--- a/toolbox.py
+++ b/toolbox.py
@@ -268,8 +268,7 @@ class ToolsToolbarBuilder():
activity.tool_group, _('Bucket'))
toolbar.insert(self._tool_bucket, -1)
- # TODO add stamp icon and change first argument here:
- self._tool_stamp = DrawToolButton('tool-bucket',
+ self._tool_stamp = DrawToolButton('tool-stamp',
activity.tool_group, _('Stamp'))
toolbar.insert(self._tool_stamp, -1)