diff options
author | Walter Bender <walter@walter-laptop.(none)> | 2010-02-19 21:23:05 (GMT) |
---|---|---|
committer | Walter Bender <walter@walter-laptop.(none)> | 2010-02-19 21:23:05 (GMT) |
commit | 50d5969b25bc6b14f498e72c20a0b636a39b491f (patch) | |
tree | 5015276d5a960a1e1eef960dfbfd17a3dad14172 | |
parent | e42ca9bdee7613eb307717bcdd9f9079bdf75023 (diff) |
added pseudo toolbar for running outside Sugar
-rw-r--r-- | icons/debugoff.svg | 263 | ||||
-rw-r--r-- | icons/debugon.svg | 263 | ||||
-rw-r--r-- | images/info.svg | 43 | ||||
-rw-r--r-- | taconstants.py | 6 | ||||
-rw-r--r-- | talogo.py | 6 | ||||
-rw-r--r-- | tawindow.py | 82 |
6 files changed, 345 insertions, 318 deletions
diff --git a/icons/debugoff.svg b/icons/debugoff.svg index 6ba2790..bf8e35b 100644 --- a/icons/debugoff.svg +++ b/icons/debugoff.svg @@ -1,141 +1,146 @@ <?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="55" - height="55" + width="40" + height="40" id="svg2"> <defs id="defs4" /> - <path - d="M 12.3583,20.48583 C 12.3583,27.434109 10.713354,33.066802 8.6842109,33.066802 C 6.6550675,33.066802 5.0101218,27.434109 5.0101218,20.48583 C 5.0101218,13.537551 6.6550675,7.9048577 8.6842109,7.9048577 C 10.713354,7.9048577 12.3583,13.537551 12.3583,20.48583 L 12.3583,20.48583 z" - transform="matrix(7.4848487,0,0,2.1858407,-37.500004,-17.278762)" - id="path3188" - style="opacity:1;fill:#808080;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> <g - transform="matrix(1.5,0,0,1.5,-13.078338,-13.158384)" - id="g2418"> - <path - d="M 27.377856,20.343519 C 28.321,19.020469 30.286922,18.112089 30.821749,18.291101 C 31.638084,18.564336 33.456136,19.576235 33.650054,20.161715 C 34.013498,21.259028 33.209093,22.374586 32.988611,23.481022" - id="path3252" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> - <path - d="M 31.312226,33.70644 C 28.236767,39.033292 23.160414,41.860147 19.973874,40.020398 C 16.787334,38.180648 16.697287,32.37097 19.772746,27.044118 C 22.848206,21.717266 27.924558,18.890411 31.111098,20.73016 C 34.297638,22.56991 34.387686,28.379588 31.312226,33.70644 L 31.312226,33.70644 z" - id="path3197" - style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.51091182;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 30.640788,20.96543 C 27.28475,27.009989 27.339614,26.914963 27.339614,26.914963" - id="path3199" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> - <path - d="M 23.640267,22.485322 C 24.595846,24.37818 25.974761,25.728012 27.471512,26.982445 C 27.498847,27.005355 31.460104,28.392057 33.385523,28.013934" - id="path3201" - style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" /> - <path - d="M 22.8141,25.484531 C 25.194146,27.945239 25.221038,27.960765 25.221038,27.960765" - id="path3203" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 21.785315,26.831706 C 24.165361,29.292415 24.336387,29.493024 24.336387,29.493024" - id="path3207" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 20.834693,28.29192 C 23.214739,30.752628 23.451737,31.025283 23.451737,31.025283" - id="path3209" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 20.016015,29.896225 C 22.39606,32.356934 22.567086,32.557543 22.567086,32.557543" - id="path3211" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 19.370877,31.63468 C 21.750923,34.095389 21.682436,34.089803 21.682436,34.089803" - id="path3213" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 19.111902,33.697954 C 21.364647,36.254945 20.797785,35.622064 20.797785,35.622064" - id="path3215" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 19.133652,36.330772 C 19.703029,36.897193 19.913135,37.154321 19.913135,37.154321" - id="path3217" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 30.786085,30.087159 C 27.465026,29.256333 27.438134,29.240807 27.438134,29.240807" - id="path3230" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 30.133789,31.6517 C 26.81273,30.820874 26.553484,30.773066 26.553484,30.773066" - id="path3232" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 29.344518,33.20507 C 26.023459,32.374244 25.668834,32.305325 25.668834,32.305325" - id="path3234" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 28.364488,34.716219 C 25.043429,33.885393 24.784183,33.837585 24.784183,33.837585" - id="path3236" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 27.18151,36.144152 C 23.860451,35.313326 23.899532,35.369845 23.899532,35.369845" - id="path3238" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 25.524151,37.400068 C 22.183359,36.727629 23.014881,36.902105 23.014881,36.902105" - id="path3240" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 23.233189,38.697641 C 22.457965,38.487756 22.130232,38.434363 22.130232,38.434363" - id="path3242" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 38.499043,20.363658 C 37.800794,21.573059 36.199476,21.955755 34.922399,21.218434 C 33.645322,20.481114 33.176087,18.902983 33.874335,17.693582 C 34.572584,16.48418 36.173902,16.101484 37.450979,16.838805 C 38.728056,17.576125 39.197291,19.154256 38.499043,20.363658 z" - id="path3244" - style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.84691685;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 36.397626,17.843099 C 36.200351,18.18479 35.747932,18.292914 35.38712,18.084599 C 35.026308,17.876284 34.893736,17.430416 35.091011,17.088724 C 35.288287,16.747033 35.740706,16.63891 36.101518,16.847225 C 36.46233,17.05554 36.594902,17.501408 36.397626,17.843099 z" - id="path3246" - style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.79813904;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 32.748117,16.754734 C 32.049869,17.964135 30.44855,18.346831 29.171473,17.60951 C 27.894396,16.87219 27.425162,15.294059 28.12341,14.084658 C 28.821659,12.875256 30.422977,12.49256 31.700054,13.229881 C 32.977131,13.967201 33.446366,15.545332 32.748117,16.754734 z" - id="path3248" - style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.84691685;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 30.781161,14.311805 C 30.583886,14.653496 30.131467,14.76162 29.770655,14.553305 C 29.409842,14.34499 29.27727,13.899122 29.474546,13.55743 C 29.671821,13.215739 30.124241,13.107616 30.485053,13.315931 C 30.845865,13.524246 30.978437,13.970114 30.781161,14.311805 z" - id="path3250" - style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.79813904;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 32.6771,18.762402 C 34.592724,15.340936 37.749452,14.220631 37.749452,14.220631 L 37.749452,14.220631" - id="path3254" - style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 32.234792,18.337256 C 34.240057,14.967544 33.631905,11.673585 33.631905,11.673585 L 33.631905,11.673585" - id="path3258" - style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 26.988213,20.231746 L 25.8722,15.229742 L 22.062204,17.274526" - id="path3260" - style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> - <path - d="M 33.361036,23.684723 L 36.94565,22.754865 L 39.828331,26.456535" - id="path3262" - style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> - <path - d="M 23.851158,22.042526 L 22.753536,18.975309 L 14.588602,21.731577" - id="path3264" - style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> - <path - d="M 33.777334,27.207476 L 37.251354,26.779696 L 37.749256,34.197896" - id="path3266" - style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> - <path - d="M 20.388485,25.668558 L 19.349188,23.00868 L 12.485021,29.515384" - id="path3268" - style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> - <path - d="M 32.410841,31.851473 L 35.330898,30.934083 L 33.3031,40.346252" - id="path3270" - style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + transform="matrix(0.7272727,0,0,0.7272727,2.6067514e-7,1.6811866e-6)" + id="g2956"> + <path + d="m 12.3583,20.48583 c 0,6.948279 -1.644946,12.580972 -3.6740891,12.580972 -2.0291434,0 -3.6740891,-5.632693 -3.6740891,-12.580972 0,-6.948279 1.6449457,-12.5809723 3.6740891,-12.5809723 2.0291431,0 3.6740891,5.6326933 3.6740891,12.5809723 l 0,0 z" + transform="matrix(7.4848487,0,0,2.1858407,-37.500004,-17.278762)" + id="path3188" + style="fill:#808080;fill-opacity:1;stroke:none" /> + <g + transform="matrix(1.5,0,0,1.5,-13.078338,-13.158384)" + id="g2418"> + <path + d="m 27.377856,20.343519 c 0.943144,-1.32305 2.909066,-2.23143 3.443893,-2.052418 0.816335,0.273235 2.634387,1.285134 2.828305,1.870614 0.363444,1.097313 -0.440961,2.212871 -0.661443,3.319307" + id="path3252" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + d="m 31.312226,33.70644 c -3.075459,5.326852 -8.151812,8.153707 -11.338352,6.313958 -3.18654,-1.83975 -3.276587,-7.649428 -0.201128,-12.97628 3.07546,-5.326852 8.151812,-8.153707 11.338352,-6.313958 3.18654,1.83975 3.276588,7.649428 0.201128,12.97628 l 0,0 z" + id="path3197" + style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.51091182;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="m 30.640788,20.96543 c -3.356038,6.044559 -3.301174,5.949533 -3.301174,5.949533" + id="path3199" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + d="m 23.640267,22.485322 c 0.955579,1.892858 2.334494,3.24269 3.831245,4.497123 0.02734,0.02291 3.988592,1.409612 5.914011,1.031489" + id="path3201" + style="fill:none;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" /> + <path + d="m 22.8141,25.484531 c 2.380046,2.460708 2.406938,2.476234 2.406938,2.476234" + id="path3203" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="m 21.785315,26.831706 c 2.380046,2.460709 2.551072,2.661318 2.551072,2.661318" + id="path3207" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="m 20.834693,28.29192 c 2.380046,2.460708 2.617044,2.733363 2.617044,2.733363" + id="path3209" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="m 20.016015,29.896225 c 2.380045,2.460709 2.551071,2.661318 2.551071,2.661318" + id="path3211" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="m 19.370877,31.63468 c 2.380046,2.460709 2.311559,2.455123 2.311559,2.455123" + id="path3213" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="m 19.111902,33.697954 c 2.252745,2.556991 1.685883,1.92411 1.685883,1.92411" + id="path3215" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="m 19.133652,36.330772 c 0.569377,0.566421 0.779483,0.823549 0.779483,0.823549" + id="path3217" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="M 30.786085,30.087159 C 27.465026,29.256333 27.438134,29.240807 27.438134,29.240807" + id="path3230" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="M 30.133789,31.6517 C 26.81273,30.820874 26.553484,30.773066 26.553484,30.773066" + id="path3232" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="M 29.344518,33.20507 C 26.023459,32.374244 25.668834,32.305325 25.668834,32.305325" + id="path3234" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="M 28.364488,34.716219 C 25.043429,33.885393 24.784183,33.837585 24.784183,33.837585" + id="path3236" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="M 27.18151,36.144152 C 23.860451,35.313326 23.899532,35.369845 23.899532,35.369845" + id="path3238" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="m 25.524151,37.400068 c -3.340792,-0.672439 -2.50927,-0.497963 -2.50927,-0.497963" + id="path3240" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="M 23.233189,38.697641 C 22.457965,38.487756 22.130232,38.434363 22.130232,38.434363" + id="path3242" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="m 38.499043,20.363658 c -0.698249,1.209401 -2.299567,1.592097 -3.576644,0.854776 -1.277077,-0.73732 -1.746312,-2.315451 -1.048064,-3.524852 0.698249,-1.209402 2.299567,-1.592098 3.576644,-0.854777 1.277077,0.73732 1.746312,2.315451 1.048064,3.524853 z" + id="path3244" + style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.84691685;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="m 36.397626,17.843099 c -0.197275,0.341691 -0.649694,0.449815 -1.010506,0.2415 -0.360812,-0.208315 -0.493384,-0.654183 -0.296109,-0.995875 0.197276,-0.341691 0.649695,-0.449814 1.010507,-0.241499 0.360812,0.208315 0.493384,0.654183 0.296108,0.995874 z" + id="path3246" + style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.79813904;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="m 32.748117,16.754734 c -0.698248,1.209401 -2.299567,1.592097 -3.576644,0.854776 -1.277077,-0.73732 -1.746311,-2.315451 -1.048063,-3.524852 0.698249,-1.209402 2.299567,-1.592098 3.576644,-0.854777 1.277077,0.73732 1.746312,2.315451 1.048063,3.524853 z" + id="path3248" + style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.84691685;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="m 30.781161,14.311805 c -0.197275,0.341691 -0.649694,0.449815 -1.010506,0.2415 -0.360813,-0.208315 -0.493385,-0.654183 -0.296109,-0.995875 0.197275,-0.341691 0.649695,-0.449814 1.010507,-0.241499 0.360812,0.208315 0.493384,0.654183 0.296108,0.995874 z" + id="path3250" + style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.79813904;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="m 32.6771,18.762402 c 1.915624,-3.421466 5.072352,-4.541771 5.072352,-4.541771 l 0,0" + id="path3254" + style="fill:none;stroke:#000000;stroke-width:0.75545591;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="m 32.234792,18.337256 c 2.005265,-3.369712 1.397113,-6.663671 1.397113,-6.663671 l 0,0" + id="path3258" + style="fill:none;stroke:#000000;stroke-width:0.75545591;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="M 26.988213,20.231746 25.8722,15.229742 22.062204,17.274526" + id="path3260" + style="fill:none;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + d="m 33.361036,23.684723 3.584614,-0.929858 2.882681,3.70167" + id="path3262" + style="fill:none;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + d="m 23.851158,22.042526 -1.097622,-3.067217 -8.164934,2.756268" + id="path3264" + style="fill:none;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + d="m 33.777334,27.207476 3.47402,-0.42778 0.497902,7.4182" + id="path3266" + style="fill:none;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + d="M 20.388485,25.668558 19.349188,23.00868 12.485021,29.515384" + id="path3268" + style="fill:none;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + d="m 32.410841,31.851473 2.920057,-0.91739 -2.027798,9.412169" + id="path3270" + style="fill:none;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + </g> </g> </svg> diff --git a/icons/debugon.svg b/icons/debugon.svg index 491ae78..50aef23 100644 --- a/icons/debugon.svg +++ b/icons/debugon.svg @@ -1,141 +1,146 @@ <?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="55" - height="55" + width="40" + height="40" id="svg2"> <defs id="defs4" /> - <path - d="M 12.3583,20.48583 C 12.3583,27.434109 10.713354,33.066802 8.6842109,33.066802 C 6.6550675,33.066802 5.0101218,27.434109 5.0101218,20.48583 C 5.0101218,13.537551 6.6550675,7.9048577 8.6842109,7.9048577 C 10.713354,7.9048577 12.3583,13.537551 12.3583,20.48583 L 12.3583,20.48583 z" - transform="matrix(7.4848487,0,0,2.1858407,-37.500004,-17.278762)" - id="path3188" - style="opacity:1;fill:#00ff00;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> <g - transform="matrix(1.5,0,0,1.5,-13.078338,-13.158384)" - id="g3188"> - <path - d="M 27.377856,20.343519 C 28.321,19.020469 30.286922,18.112089 30.821749,18.291101 C 31.638084,18.564336 33.456136,19.576235 33.650054,20.161715 C 34.013498,21.259028 33.209093,22.374586 32.988611,23.481022" - id="path3252" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> - <path - d="M 31.312226,33.70644 C 28.236767,39.033292 23.160414,41.860147 19.973874,40.020398 C 16.787334,38.180648 16.697287,32.37097 19.772746,27.044118 C 22.848206,21.717266 27.924558,18.890411 31.111098,20.73016 C 34.297638,22.56991 34.387686,28.379588 31.312226,33.70644 L 31.312226,33.70644 z" - id="path3197" - style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.51091182;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 30.640788,20.96543 C 27.28475,27.009989 27.339614,26.914963 27.339614,26.914963" - id="path3199" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> - <path - d="M 23.640267,22.485322 C 24.595846,24.37818 25.974761,25.728012 27.471512,26.982445 C 27.498847,27.005355 31.460104,28.392057 33.385523,28.013934" - id="path3201" - style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" /> - <path - d="M 22.8141,25.484531 C 25.194146,27.945239 25.221038,27.960765 25.221038,27.960765" - id="path3203" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 21.785315,26.831706 C 24.165361,29.292415 24.336387,29.493024 24.336387,29.493024" - id="path3207" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 20.834693,28.29192 C 23.214739,30.752628 23.451737,31.025283 23.451737,31.025283" - id="path3209" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 20.016015,29.896225 C 22.39606,32.356934 22.567086,32.557543 22.567086,32.557543" - id="path3211" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 19.370877,31.63468 C 21.750923,34.095389 21.682436,34.089803 21.682436,34.089803" - id="path3213" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 19.111902,33.697954 C 21.364647,36.254945 20.797785,35.622064 20.797785,35.622064" - id="path3215" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 19.133652,36.330772 C 19.703029,36.897193 19.913135,37.154321 19.913135,37.154321" - id="path3217" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 30.786085,30.087159 C 27.465026,29.256333 27.438134,29.240807 27.438134,29.240807" - id="path3230" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 30.133789,31.6517 C 26.81273,30.820874 26.553484,30.773066 26.553484,30.773066" - id="path3232" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 29.344518,33.20507 C 26.023459,32.374244 25.668834,32.305325 25.668834,32.305325" - id="path3234" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 28.364488,34.716219 C 25.043429,33.885393 24.784183,33.837585 24.784183,33.837585" - id="path3236" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 27.18151,36.144152 C 23.860451,35.313326 23.899532,35.369845 23.899532,35.369845" - id="path3238" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 25.524151,37.400068 C 22.183359,36.727629 23.014881,36.902105 23.014881,36.902105" - id="path3240" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 23.233189,38.697641 C 22.457965,38.487756 22.130232,38.434363 22.130232,38.434363" - id="path3242" - style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 38.499043,20.363658 C 37.800794,21.573059 36.199476,21.955755 34.922399,21.218434 C 33.645322,20.481114 33.176087,18.902983 33.874335,17.693582 C 34.572584,16.48418 36.173902,16.101484 37.450979,16.838805 C 38.728056,17.576125 39.197291,19.154256 38.499043,20.363658 z" - id="path3244" - style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.84691685;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 36.397626,17.843099 C 36.200351,18.18479 35.747932,18.292914 35.38712,18.084599 C 35.026308,17.876284 34.893736,17.430416 35.091011,17.088724 C 35.288287,16.747033 35.740706,16.63891 36.101518,16.847225 C 36.46233,17.05554 36.594902,17.501408 36.397626,17.843099 z" - id="path3246" - style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.79813904;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 32.748117,16.754734 C 32.049869,17.964135 30.44855,18.346831 29.171473,17.60951 C 27.894396,16.87219 27.425162,15.294059 28.12341,14.084658 C 28.821659,12.875256 30.422977,12.49256 31.700054,13.229881 C 32.977131,13.967201 33.446366,15.545332 32.748117,16.754734 z" - id="path3248" - style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.84691685;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 30.781161,14.311805 C 30.583886,14.653496 30.131467,14.76162 29.770655,14.553305 C 29.409842,14.34499 29.27727,13.899122 29.474546,13.55743 C 29.671821,13.215739 30.124241,13.107616 30.485053,13.315931 C 30.845865,13.524246 30.978437,13.970114 30.781161,14.311805 z" - id="path3250" - style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.79813904;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 32.6771,18.762402 C 34.592724,15.340936 37.749452,14.220631 37.749452,14.220631 L 37.749452,14.220631" - id="path3254" - style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 32.234792,18.337256 C 34.240057,14.967544 33.631905,11.673585 33.631905,11.673585 L 33.631905,11.673585" - id="path3258" - style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 26.988213,20.231746 L 25.8722,15.229742 L 22.062204,17.274526" - id="path3260" - style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> - <path - d="M 33.361036,23.684723 L 36.94565,22.754865 L 39.828331,26.456535" - id="path3262" - style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> - <path - d="M 23.851158,22.042526 L 22.753536,18.975309 L 14.588602,21.731577" - id="path3264" - style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> - <path - d="M 33.777334,27.207476 L 37.251354,26.779696 L 37.749256,34.197896" - id="path3266" - style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> - <path - d="M 20.388485,25.668558 L 19.349188,23.00868 L 12.485021,29.515384" - id="path3268" - style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> - <path - d="M 32.410841,31.851473 L 35.330898,30.934083 L 33.3031,40.346252" - id="path3270" - style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + transform="matrix(0.7272727,0,0,0.7272727,2.6067514e-7,1.6811866e-6)" + id="g3124"> + <path + d="m 12.3583,20.48583 c 0,6.948279 -1.644946,12.580972 -3.6740891,12.580972 -2.0291434,0 -3.6740891,-5.632693 -3.6740891,-12.580972 0,-6.948279 1.6449457,-12.5809723 3.6740891,-12.5809723 2.0291431,0 3.6740891,5.6326933 3.6740891,12.5809723 l 0,0 z" + transform="matrix(7.4848487,0,0,2.1858407,-37.500004,-17.278762)" + id="path3188" + style="fill:#00ff00;fill-opacity:1;stroke:none" /> + <g + transform="matrix(1.5,0,0,1.5,-13.078338,-13.158384)" + id="g3188"> + <path + d="m 27.377856,20.343519 c 0.943144,-1.32305 2.909066,-2.23143 3.443893,-2.052418 0.816335,0.273235 2.634387,1.285134 2.828305,1.870614 0.363444,1.097313 -0.440961,2.212871 -0.661443,3.319307" + id="path3252" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + d="m 31.312226,33.70644 c -3.075459,5.326852 -8.151812,8.153707 -11.338352,6.313958 -3.18654,-1.83975 -3.276587,-7.649428 -0.201128,-12.97628 3.07546,-5.326852 8.151812,-8.153707 11.338352,-6.313958 3.18654,1.83975 3.276588,7.649428 0.201128,12.97628 l 0,0 z" + id="path3197" + style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.51091182;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="m 30.640788,20.96543 c -3.356038,6.044559 -3.301174,5.949533 -3.301174,5.949533" + id="path3199" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + d="m 23.640267,22.485322 c 0.955579,1.892858 2.334494,3.24269 3.831245,4.497123 0.02734,0.02291 3.988592,1.409612 5.914011,1.031489" + id="path3201" + style="fill:none;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" /> + <path + d="m 22.8141,25.484531 c 2.380046,2.460708 2.406938,2.476234 2.406938,2.476234" + id="path3203" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="m 21.785315,26.831706 c 2.380046,2.460709 2.551072,2.661318 2.551072,2.661318" + id="path3207" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="m 20.834693,28.29192 c 2.380046,2.460708 2.617044,2.733363 2.617044,2.733363" + id="path3209" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="m 20.016015,29.896225 c 2.380045,2.460709 2.551071,2.661318 2.551071,2.661318" + id="path3211" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="m 19.370877,31.63468 c 2.380046,2.460709 2.311559,2.455123 2.311559,2.455123" + id="path3213" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="m 19.111902,33.697954 c 2.252745,2.556991 1.685883,1.92411 1.685883,1.92411" + id="path3215" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="m 19.133652,36.330772 c 0.569377,0.566421 0.779483,0.823549 0.779483,0.823549" + id="path3217" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="M 30.786085,30.087159 C 27.465026,29.256333 27.438134,29.240807 27.438134,29.240807" + id="path3230" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="M 30.133789,31.6517 C 26.81273,30.820874 26.553484,30.773066 26.553484,30.773066" + id="path3232" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="M 29.344518,33.20507 C 26.023459,32.374244 25.668834,32.305325 25.668834,32.305325" + id="path3234" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="M 28.364488,34.716219 C 25.043429,33.885393 24.784183,33.837585 24.784183,33.837585" + id="path3236" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="M 27.18151,36.144152 C 23.860451,35.313326 23.899532,35.369845 23.899532,35.369845" + id="path3238" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="m 25.524151,37.400068 c -3.340792,-0.672439 -2.50927,-0.497963 -2.50927,-0.497963" + id="path3240" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="M 23.233189,38.697641 C 22.457965,38.487756 22.130232,38.434363 22.130232,38.434363" + id="path3242" + style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.75545591;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="m 38.499043,20.363658 c -0.698249,1.209401 -2.299567,1.592097 -3.576644,0.854776 -1.277077,-0.73732 -1.746312,-2.315451 -1.048064,-3.524852 0.698249,-1.209402 2.299567,-1.592098 3.576644,-0.854777 1.277077,0.73732 1.746312,2.315451 1.048064,3.524853 z" + id="path3244" + style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.84691685;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="m 36.397626,17.843099 c -0.197275,0.341691 -0.649694,0.449815 -1.010506,0.2415 -0.360812,-0.208315 -0.493384,-0.654183 -0.296109,-0.995875 0.197276,-0.341691 0.649695,-0.449814 1.010507,-0.241499 0.360812,0.208315 0.493384,0.654183 0.296108,0.995874 z" + id="path3246" + style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.79813904;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="m 32.748117,16.754734 c -0.698248,1.209401 -2.299567,1.592097 -3.576644,0.854776 -1.277077,-0.73732 -1.746311,-2.315451 -1.048063,-3.524852 0.698249,-1.209402 2.299567,-1.592098 3.576644,-0.854777 1.277077,0.73732 1.746312,2.315451 1.048063,3.524853 z" + id="path3248" + style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.84691685;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="m 30.781161,14.311805 c -0.197275,0.341691 -0.649694,0.449815 -1.010506,0.2415 -0.360813,-0.208315 -0.493385,-0.654183 -0.296109,-0.995875 0.197275,-0.341691 0.649695,-0.449814 1.010507,-0.241499 0.360812,0.208315 0.493384,0.654183 0.296108,0.995874 z" + id="path3250" + style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.79813904;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="m 32.6771,18.762402 c 1.915624,-3.421466 5.072352,-4.541771 5.072352,-4.541771 l 0,0" + id="path3254" + style="fill:none;stroke:#000000;stroke-width:0.75545591;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="m 32.234792,18.337256 c 2.005265,-3.369712 1.397113,-6.663671 1.397113,-6.663671 l 0,0" + id="path3258" + style="fill:none;stroke:#000000;stroke-width:0.75545591;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <path + d="M 26.988213,20.231746 25.8722,15.229742 22.062204,17.274526" + id="path3260" + style="fill:none;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + d="m 33.361036,23.684723 3.584614,-0.929858 2.882681,3.70167" + id="path3262" + style="fill:none;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + d="m 23.851158,22.042526 -1.097622,-3.067217 -8.164934,2.756268" + id="path3264" + style="fill:none;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + d="m 33.777334,27.207476 3.47402,-0.42778 0.497902,7.4182" + id="path3266" + style="fill:none;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + d="M 20.388485,25.668558 19.349188,23.00868 12.485021,29.515384" + id="path3268" + style="fill:none;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + <path + d="m 32.410841,31.851473 2.920057,-0.91739 -2.027798,9.412169" + id="path3270" + style="fill:none;stroke:#000000;stroke-width:1.51091182px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + </g> </g> </svg> diff --git a/images/info.svg b/images/info.svg index 5a2dbc7..909bb88 100644 --- a/images/info.svg +++ b/images/info.svg @@ -1,26 +1,27 @@ <?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="767" - height="160" + width="277" + height="360" id="svg2"> <defs id="defs27" /> <path - d="M 15.507829,158.97219 C 12.012652,158.97219 8.517475,147.01146 6.0209201,136.43294 C 3.5243653,125.85441 1.0278107,111.04448 1.0278107,96.234539 L 1.0278107,62.383259 C 1.0278107,48.631174 3.5243653,26.41627 6.0209201,17.953449 C 8.517475,9.4906294 12.012652,1.0278084 15.507829,1.0278084 L 750.99286,1.0278084 C 753.48942,1.0278084 757.98321,5.2592194 761.4784,17.953449 C 764.97356,29.589828 765.97219,49.689027 765.97219,62.383259 L 765.97219,96.234539 C 765.97219,111.04448 763.97494,125.85441 761.4784,136.43294 C 758.98184,147.01146 754.98736,158.97219 750.99286,158.97219 L 15.507829,158.97219 z" + d="m 15.507831,358.97219 c -3.49518,0 -6.9903604,-11.96073 -9.4869104,-22.53925 -2.49655,-10.57853 -4.99311,-25.38846 -4.99311,-40.1984 l 0,-233.851279 c 0,-13.752085 2.49656,-35.966989 4.99311,-44.42981 C 8.5174706,9.4906316 12.012651,1.0278106 15.507831,1.0278106 l 245.485029,0 c 2.49656,0 6.99035,4.231411 10.48554,16.9256404 3.49516,11.636379 4.49379,31.735578 4.49379,44.42981 l 0,233.851279 c 0,14.80994 -1.99725,29.61987 -4.49379,40.1984 -2.49656,10.57852 -6.49104,22.53925 -10.48554,22.53925 l -245.485029,0 z" id="path4" style="fill:#ffd000;fill-opacity:1;fill-rule:evenodd;stroke:#e0a000;stroke-width:2.05562115px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> <g - transform="translate(648,66.625)" + transform="translate(158,66.625002)" id="g6"> <path - d="M 79.5,438.5 C 79.5,443 75.75,446.5 71,446.5 C 66.5,446.5 62.75,443 62.75,438.5 C 62.75,434 66.5,430.25 71,430.25 C 75.75,430.25 79.5,434 79.5,438.5 L 79.5,438.5 z" + d="m 79.5,438.5 c 0,4.5 -3.75,8 -8.5,8 -4.5,0 -8.25,-3.5 -8.25,-8 0,-4.5 3.75,-8.25 8.25,-8.25 4.75,0 8.5,3.75 8.5,8.25 l 0,0 z" transform="translate(24,-485)" id="path8" - style="fill:#ff4040;fill-opacity:1;fill-rule:nonzero;stroke:#ff4040;stroke-width:1;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + style="fill:#ff4040;fill-opacity:1;fill-rule:nonzero;stroke:#ff4040;stroke-width:1;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> <text id="text10" style="font-size:12px;font-weight:bold;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"> @@ -31,34 +32,4 @@ style="font-size:12px">X</tspan> </text> </g> - <g - transform="translate(5.5,1)" - id="g14"> - <path - d="M 44,15 L 10.5,15 L 27.5,-14 L 44,15 z" - transform="translate(-4,20)" - id="path16" - style="opacity:1;fill:#404040;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 44,15 L 10.5,15 L 27.5,-14 L 44,15 z" - transform="translate(1,17)" - id="path18" - style="opacity:1;fill:#e0e0e0;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - <path - d="M 44,15 L 10.5,15 L 27.5,-14 L 44,15 z" - transform="translate(-1,18)" - id="path20" - style="opacity:1;fill:#ffe000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - </g> - <text - x="5.5" - y="1" - id="text22" - style="font-size:12px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"> - <tspan - x="26.5" - y="30" - id="tspan24" - style="font-size:24px">!</tspan> - </text> </svg> diff --git a/taconstants.py b/taconstants.py index 84f89db..7b591d5 100644 --- a/taconstants.py +++ b/taconstants.py @@ -551,6 +551,12 @@ STATUS_SHAPES = ['status', 'info', 'nostack', 'noinput', 'emptyheap', 'emptybox', 'nomedia', 'nocode', 'overflowerror', 'negroot', 'syntaxerror', 'nofile', 'nojournal', 'zerodivide'] +# +# Emulate Sugar toolbar when running from outside of Sugar +# +TOOLBAR_SHAPES = ['hideshowoff', 'eraseron', 'run-fastoff', + 'run-slowoff', 'debugoff', 'stopiton'] + # # Legacy names # @@ -35,7 +35,7 @@ try: except: pass -from taconstants import PALETTES, PALETTE_NAMES, BOX_STYLE +from taconstants import PALETTES, PALETTE_NAMES, BOX_STYLE, TAB_LAYER from tagplay import play_audio, play_movie_from_file, stop_media from tajail import myfunc, myfunc_import from tautils import get_pixbuf_from_journal, movie_media_type,\ @@ -566,11 +566,15 @@ class LogoCode: def start_eval(self, list): if self.tw.running_sugar: self.tw.activity.stop_button.set_icon("stopiton") + else: + self.tw.toolbar_shapes['stopiton'].set_layer(TAB_LAYER) self.running = True self.icall(self.evline, list) yield True if self.tw.running_sugar: self.tw.activity.stop_button.set_icon("stopitoff") + else: + self.tw.toolbar_shapes['stopiton'].hide() yield False self.running = False diff --git a/tawindow.py b/tawindow.py index b3108de..c63061c 100644 --- a/tawindow.py +++ b/tawindow.py @@ -95,7 +95,7 @@ class TurtleArtWindow(): def _setup_initial_values(self, win, path, lang, parent, mycolors): self.window = win - self.path = os.path.join(path, 'images') + self.path = path self.load_save_folder = os.path.join(path, 'samples') self.save_folder = None self.save_file_name = None @@ -144,6 +144,7 @@ class TurtleArtWindow(): self.cartesian = False self.polar = False self.overlay_shapes = {} + self.toolbar_shapes = {} self.status_spr = None self.status_shapes = {} self.toolbar_spr = None @@ -207,12 +208,12 @@ class TurtleArtWindow(): else: filename = name self.media_shapes[name] = \ - svg_str_to_pixbuf(svg_from_file("%s/%s.svg" % ( + svg_str_to_pixbuf(svg_from_file("%s/images/%s.svg" % ( self.path, filename))) for i, name in enumerate(STATUS_SHAPES): self.status_shapes[name] = svg_str_to_pixbuf(svg_from_file( - "%s/%s.svg" % (self.path, name))) + "%s/images/%s.svg" % (self.path, name))) self.status_spr = Sprite(self.sprite_list, 0, self.height-200, self.status_shapes['status']) self.status_spr.hide() @@ -222,10 +223,22 @@ class TurtleArtWindow(): self.overlay_shapes[name] = Sprite(self.sprite_list, int(self.width/2-600), int(self.height/2-450), svg_str_to_pixbuf(svg_from_file( - "%s/%s.svg" % (self.path, name)))) + "%s/images/%s.svg" % (self.path, name)))) self.overlay_shapes[name].hide() self.overlay_shapes[name].type = 'overlay' + if not self.running_sugar: + o = self.width-55*len(TOOLBAR_SHAPES) + for i, name in enumerate(TOOLBAR_SHAPES): + self.toolbar_shapes[name] = Sprite(self.sprite_list, i*55+o, 0, + svg_str_to_pixbuf(svg_from_file( + "%s/icons/%s.svg" % (self.path, name)))) + self.toolbar_shapes[name].set_layer(TAB_LAYER) + self.toolbar_shapes[name].name = name + self.toolbar_shapes[name].type = 'toolbar' + self.toolbar_shapes['stopiton'].hide() + + """ Is a chattube available for sharing? """ @@ -309,7 +322,7 @@ class TurtleArtWindow(): Hide/show button """ def hideshow_button(self): - if self.hide is False: + if not self.hide: for blk in self.just_blocks(): blk.spr.hide() self.hide_palette() @@ -326,7 +339,7 @@ class TurtleArtWindow(): Hide or show palette """ def hideshow_palette(self, state): - if state is False: + if not state: self.palette == False if self.running_sugar: self.activity.do_hidepalette() @@ -414,9 +427,9 @@ class TurtleArtWindow(): svg = SVG() x, y = 50, 0 for i, name in enumerate(PALETTE_NAMES): - a = svg_str_to_pixbuf(svg_from_file("%s/%soff.svg" % ( + a = svg_str_to_pixbuf(svg_from_file("%s/images/%soff.svg" % ( self.path, name))) - b = svg_str_to_pixbuf(svg_from_file("%s/%son.svg" % ( + b = svg_str_to_pixbuf(svg_from_file("%s/images/%son.svg" % ( self.path, name))) self.selector_shapes.append([a,b]) self.selectors.append(Sprite(self.sprite_list, x, y, a)) @@ -430,10 +443,10 @@ class TurtleArtWindow(): # Create the palette orientation button self.palette_button.append(Sprite(self.sprite_list, 0, ICON_SIZE, svg_str_to_pixbuf(svg_from_file( - "%s/palettehorizontal.svg" %(self.path))))) + "%s/images/palettehorizontal.svg" %(self.path))))) self.palette_button.append(Sprite(self.sprite_list, 0, ICON_SIZE, svg_str_to_pixbuf(svg_from_file( - "%s/palettevertical.svg" % (self.path))))) + "%s/images/palettevertical.svg" % (self.path))))) self.palette_button[0].name = 'orientation' self.palette_button[1].name = 'orientation' self.palette_button[0].type = 'palette' @@ -451,7 +464,7 @@ class TurtleArtWindow(): for i in range(len(PALETTES)): self.palettes.append([]); - if init_only is True: + if init_only: return # Hide the previously displayed palette @@ -633,7 +646,7 @@ class TurtleArtWindow(): x, y = self._xy(event) self.button_press(event.get_state()>k.gdk.CONTROL_MASK, x, y) if self._sharing(): - if event.get_state()>k.gdk.CONTROL_MASK is True: + if event.get_state()>k.gdk.CONTROL_MASK: self.activity._send_event("p:%d:%d:T" % (x, y)) else: self.activity._send_event("p:%d:%d:F" % (x, y)) @@ -709,6 +722,8 @@ class TurtleArtWindow(): 1-self.orientation].hide() self._layout_palette(self.selected_palette) self.show_palette(self.selected_palette) + elif spr.type == 'toolbar': + self._select_toolbar_button(spr) return True """ @@ -727,6 +742,27 @@ class TurtleArtWindow(): self.show_palette(i) """ + Select a toolbar button (when not running Sugar) + """ + def _select_toolbar_button(self, spr): + if spr.name == 'run-fastoff': + self.lc.trace = 0 + self.run_button(0) + elif spr.name == 'run-slowoff': + self.lc.trace = 0 + self.run_button(3) + elif spr.name == 'debugoff': + self.lc.trace = 1 + self.run_button(6) + elif spr.name == 'stopiton': + self.stop_button() + self.toolbar_shapes['stopiton'].hide() + elif spr.name == 'eraseron': + self.eraser_button() + elif spr.name == 'hideshowoff': + self.hideshow_button() + + """ Put a group of blocks into the trash. """ def _put_in_trash(self, blk, x=0, y=0): @@ -926,7 +962,7 @@ class TurtleArtWindow(): # Create the blocks (or turtle). blocks = [] for b in data: - if self._found_a_turtle(b) is False: + if not self._found_a_turtle(b): blk = self.load_block(b) blocks.append(blk) @@ -1603,8 +1639,8 @@ class TurtleArtWindow(): best_your_dockn = your_dockn best_my_dockn = my_dockn if d<200: - if self._arithmetic_check(my_block, best_you, best_my_dockn, - best_your_dockn) is False: + if not self._arithmetic_check(my_block, best_you, best_my_dockn, + best_your_dockn): return for blk in self.drag_group: (sx, sy) = blk.spr.get_xy() @@ -1839,7 +1875,7 @@ class TurtleArtWindow(): self.keypress = keyname # First, process Alt keys. - if alt_mask is True and self.selected_blk==None: + if alt_mask and self.selected_blk is not None: if keyname=="i" and self._sharing(): self.activity.waiting_for_blocks = True self.activity._send_event("i") # request sync for sharing @@ -2122,7 +2158,7 @@ class TurtleArtWindow(): Load a project from a file """ def load_files(self, ta_file, create_new_project=True): - if create_new_project is True: + if create_new_project: self.new_project() top = self.process_data(data_from_file(ta_file)) self._check_collapsibles(top) @@ -2135,7 +2171,7 @@ class TurtleArtWindow(): if fname[-3:] == '.ta': fname=fname[0:-3] self.load_files(fname+'.ta', create_new_project) - if create_new_project is True: + if create_new_project: self.save_file_name = os.path.basename(fname) """ @@ -2266,7 +2302,7 @@ class TurtleArtWindow(): blk.resize() blk.spr.set_layer(BLOCK_LAYER) - if check_dock is True: + if check_dock: blk.connections = 'check' return blk @@ -2301,7 +2337,7 @@ class TurtleArtWindow(): data = [] blks = [] - if save_project is True: + if save_project: blks = self.just_blocks() else: blks = self._find_group(self.find_top_block(self.selected_blk)) @@ -2330,12 +2366,12 @@ class TurtleArtWindow(): connections = None (sx, sy) = b.spr.get_xy() # Add a slight offset for copy/paste - if save_project is False: + if not save_project: sx+=20 sy+=20 data.append((b.id, name, sx-self.canvas.cx, sy-self.canvas.cy, connections)) - if save_turtle is True: + if save_turtle: for k in iter(self.turtles.dict): self.canvas.set_turtle(k) data.append((-1,['turtle', k], @@ -2379,7 +2415,7 @@ class TurtleArtWindow(): self.status_spr.set_label(str(label)) self.status_spr.set_layer(STATUS_LAYER) if shp == 'info': - self.status_spr.move((PALETTE_WIDTH, self.height-300)) + self.status_spr.move((PALETTE_WIDTH, self.height-400)) else: self.status_spr.move((PALETTE_WIDTH, self.height-200)) |