Subversion Repositories basico

Compare Revisions

Ignore whitespace Rev 269 → Rev 270

/branches/BR-0.3/basico/data/icons/basico-annotation-type-email.svg
0,0 → 1,185
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Sodipodi ("http://www.sodipodi.com/") -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://web.resource.org/cc/"
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"
id="svg848"
sodipodi:version="0.32"
width="90"
height="90"
sodipodi:docbase="/home/tweenk/GNUtoon/actions"
sodipodi:docname="gnome-stock-mail-new.svg"
inkscape:version="0.45.1"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
version="1.0">
<metadata
id="metadata33">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs850">
<linearGradient
id="linearGradient867">
<stop
style="stop-color:#92b5d7;stop-opacity:0.780392;"
offset="0.000000"
id="stop868" />
<stop
style="stop-color:#ffffff;stop-opacity:0.321569;"
offset="1.000000"
id="stop869" />
</linearGradient>
<linearGradient
id="linearGradient860">
<stop
style="stop-color:#92b5d7;stop-opacity:1;"
offset="0.000000"
id="stop861" />
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="1.000000"
id="stop862" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient860"
id="linearGradient863"
x1="37.126305"
y1="43.838791"
x2="68.40992"
y2="44.934666"
gradientUnits="userSpaceOnUse"
gradientTransform="scale(1.036866,0.964444)"
spreadMethod="reflect" />
<linearGradient
xlink:href="#linearGradient867"
id="linearGradient866"
x1="38.646523"
y1="64.399437"
x2="39.494808"
y2="29.977726"
gradientUnits="userSpaceOnUse"
spreadMethod="pad"
gradientTransform="scale(1.261031,0.793002)" />
<linearGradient
xlink:href="#linearGradient867"
id="linearGradient871"
x1="28.197727"
y1="108.28517"
x2="33.435261"
y2="93.438599"
gradientUnits="userSpaceOnUse"
spreadMethod="pad"
gradientTransform="scale(1.52092,0.657497)" />
<defs
id="defs550">
<linearGradient
x1="0"
y1="0"
x2="1"
y2="0"
id="linearGradient556"
gradientUnits="objectBoundingBox"
spreadMethod="pad">
<stop
style="stop-color:#ff8700;stop-opacity:1;"
offset="0.00000000"
id="stop557" />
<stop
style="stop-color:#ffff8d;stop-opacity:0;"
offset="1.00000000"
id="stop558" />
</linearGradient>
<linearGradient
x1="0"
y1="0"
x2="1"
y2="0"
id="linearGradient559"
xlink:href="#linearGradient556"
gradientUnits="objectBoundingBox"
spreadMethod="pad" />
</defs>
</defs>
<sodipodi:namedview
id="base"
inkscape:zoom="8.1022652"
inkscape:cx="12.748096"
inkscape:cy="12.401633"
inkscape:window-width="1014"
inkscape:window-height="686"
inkscape:window-x="0"
inkscape:window-y="1"
inkscape:current-layer="svg848"
width="90px"
height="90px" />
<g
id="g852"
transform="matrix(0.888426,0,0,0.888426,5.529183,2.609016)">
<path
style="font-size:12px;fill:#000000;fill-opacity:0.3;fill-rule:evenodd;stroke-width:1pt"
d="M 11.2695,13.5441 C 10.8576,13.5441 9.2958,56.3824 12.3893,59.6969 C 21.0436,69.8079 74.9091,82.708 76.235,80.7192 C 77.5608,78.7305 87.0025,39.5285 83.4669,36.8769 C 72.929,23.7217 12.5953,10.2295 11.2695,13.5441 z "
id="path914"
transform="matrix(1.124488,0,0,1.124488,-6.54284,-1.6541)"
sodipodi:nodetypes="ccccc" />
<path
style="font-size:12px;fill:#3d4e67;fill-rule:evenodd;stroke-width:1pt"
d="M 11.2695,13.5441 C 10.8576,13.5441 9.2958,56.3824 12.3893,59.6969 C 21.0436,69.8079 74.9091,82.708 76.235,80.7192 C 77.5608,78.7305 87.0025,39.5285 83.4669,36.8769 C 72.929,23.7217 12.5953,10.2295 11.2695,13.5441 z "
id="path859"
transform="matrix(1.124488,0,0,1.124488,-10.96226,-8.946139)"
sodipodi:nodetypes="ccccc" />
<path
style="font-size:12px;fill:url(#linearGradient863);stroke-width:1pt"
d="M 11.2695,13.5441 C 11.2695,13.5441 9.50175,55.9705 12.5953,59.285 C 15.6889,62.5996 74.9091,82.708 76.235,80.7192 C 77.5608,78.7305 86.1787,38.2928 82.6431,35.6412 C 79.1076,32.9895 12.5953,10.2295 11.2695,13.5441 z "
id="path856"
transform="translate(-5.082326,-3.093586)" />
<path
style="font-size:12px;fill:#3d4e67;fill-rule:evenodd;stroke-width:1pt"
d="M 13.9212,59.948 C 13.2582,60.169 27.6213,56.4124 32.4828,53.0978 C 32.9247,52.8769 42.8684,53.5398 45.962,56.6334 C 49.0555,59.727 68.28,76.0789 74.4672,80.7192 C 64.3026,80.0563 21.4341,72.9852 13.9212,59.948 z "
id="path855"
sodipodi:nodetypes="ccccc"
transform="translate(-5.082326,-3.093586)" />
<path
style="font-size:12px;fill:#ffffff;fill-rule:evenodd;stroke-width:1pt"
d="M 13.9212,59.948 C 14.1421,59.948 28.2842,57.9592 33.1457,54.6446 C 33.5876,54.4237 42.8684,54.2027 45.962,57.2963 C 49.0555,60.3899 72.6994,80.4983 74.4672,80.7192 C 76.235,80.9402 19.4454,68.7868 13.9212,59.948 z "
id="path858"
sodipodi:nodetypes="ccccc"
transform="matrix(0.83768,0,0,0.83768,0.105843,7.220649)" />
<path
style="font-size:12px;fill:#3d4e67;fill-rule:evenodd;stroke-width:1pt"
d="M 81.7593,35.4202 C 81.7593,35.4202 39.7747,60.169 36.0182,56.8544 C 27.6213,48.8994 11.0485,13.1021 11.7115,12.4392 C 14.1422,10.4505 64.9654,20.1732 81.7593,35.4202 z "
id="path854"
sodipodi:nodetypes="cccc"
transform="translate(-5.082326,-3.093586)" />
<path
style="font-size:12px;fill:#ffffff;fill-rule:evenodd;stroke-width:1pt"
d="M 84.0393,35.6735 C 81.7593,36.6869 39.7747,60.169 36.0182,56.8544 C 27.6213,48.8994 10.2885,12.0888 10.9515,11.4259 C 13.3822,9.43718 65.9787,20.9332 84.0393,35.6735 z "
id="path857"
sodipodi:nodetypes="cccc"
transform="matrix(0.872265,0,0,0.872265,0.223256,0.893154)" />
<path
style="font-size:12px;fill:url(#linearGradient866);fill-rule:evenodd;stroke-width:1pt"
d="M 84.0393,35.6735 C 81.7593,36.6869 39.7747,60.169 36.0182,56.8544 C 27.6213,48.8994 10.2885,12.0888 10.9515,11.4259 C 13.3822,9.43718 65.9787,20.9332 84.0393,35.6735 z "
id="path865"
sodipodi:nodetypes="cccc"
transform="matrix(0.872265,0,0,0.872265,0.223256,0.893154)" />
<path
style="font-size:12px;fill:url(#linearGradient871);fill-rule:evenodd;stroke-width:1pt"
d="M 13.9212,59.948 C 14.1421,59.948 28.2842,57.9592 33.1457,54.6446 C 33.5876,54.4237 42.8684,54.2027 45.962,57.2963 C 49.0555,60.3899 72.6994,80.4983 74.4672,80.7192 C 76.235,80.9402 19.4454,68.7868 13.9212,59.948 z "
id="path870"
sodipodi:nodetypes="ccccc"
transform="matrix(0.83768,0,0,0.83768,0.105843,7.220649)" />
</g>
</svg>
/branches/BR-0.3/basico/data/icons/basico-annotation-type-note.svg
0,0 → 1,291
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Sodipodi ("http://www.sodipodi.com/") -->
<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"
id="svg604"
sodipodi:version="0.32"
width="90"
height="90"
sodipodi:docbase="/home/tweenk/GNUtoon/apps"
sodipodi:docname="tomboy.svg"
inkscape:version="0.45+devel"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
version="1.0">
<metadata
id="metadata39">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs606">
<linearGradient
id="linearGradient6184">
<stop
id="stop6186"
offset="0.000000"
style="stop-color:#593a28;stop-opacity:1" />
<stop
id="stop6188"
offset="1.000000"
style="stop-color:#ff933d;stop-opacity:0" />
</linearGradient>
<linearGradient
id="linearGradient4218">
<stop
id="stop4220"
offset="0"
style="stop-color:#b01911;stop-opacity:1" />
<stop
id="stop4222"
offset="1"
style="stop-color:#ffc93f;stop-opacity:1" />
</linearGradient>
<linearGradient
id="linearGradient3233">
<stop
style="stop-color:#b01911;stop-opacity:1"
offset="0"
id="stop3235" />
<stop
style="stop-color:#ffc93f;stop-opacity:1"
offset="1"
id="stop3237" />
</linearGradient>
<linearGradient
id="linearGradient3217">
<stop
style="stop-color:#ffe6ba;stop-opacity:1"
offset="0"
id="stop3219" />
<stop
style="stop-color:#ffc93f;stop-opacity:1"
offset="1"
id="stop3221" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient619"
id="linearGradient1095"
gradientUnits="userSpaceOnUse"
gradientTransform="scale(1.004516,0.995504)"
spreadMethod="pad"
x1="66.331696"
y1="23.212469"
x2="63.465496"
y2="20.962799" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient626"
id="linearGradient1096"
gradientUnits="userSpaceOnUse"
gradientTransform="scale(0.912664,1.095694)"
spreadMethod="pad"
x1="56.327614"
y1="43.377247"
x2="51.654526"
y2="39.762909" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3217"
id="linearGradient3223"
x1="10.446366"
y1="7.4949131"
x2="17.217117"
y2="16.213354"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(2.7728254,-0.2447281,0.2447281,2.7728254,-9.2406474e-2,7.5127795)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3217"
id="linearGradient3231"
x1="4.0171032"
y1="12.270078"
x2="5.4030128"
y2="23.278341"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(2.7728254,-0.2447281,0.2447281,2.7728254,-9.2406474e-2,7.5127795)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3233"
id="linearGradient3239"
x1="16.898888"
y1="16.441101"
x2="27.8909"
y2="22.496422"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(2.7728254,-0.2447281,0.2447281,2.7728254,-9.2406474e-2,7.5127795)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4218"
id="linearGradient4216"
x1="25.096966"
y1="19.736431"
x2="22.915148"
y2="17.301367"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(2.7728254,-0.2447281,0.2447281,2.7728254,-9.2406474e-2,7.5127795)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient6184"
id="linearGradient5212"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(2.7728254,-0.2447281,0.2447281,2.7728254,-9.2406474e-2,7.5127795)"
x1="25.653496"
y1="20.317675"
x2="18.965466"
y2="15.304358" />
</defs>
<sodipodi:namedview
id="base"
inkscape:zoom="5.0416665"
inkscape:cx="80.04916"
inkscape:cy="40.640681"
inkscape:window-width="1014"
inkscape:window-height="708"
inkscape:window-x="0"
inkscape:window-y="1"
inkscape:current-layer="svg604"
width="90px"
height="90px"
showgrid="false" />
<path
sodipodi:nodetypes="cccccccc"
id="path2441"
d="M 16.553429,23.310127 C 15.014011,23.434366 13.530779,23.897671 12.256852,24.627451 C 8.0024594,27.577789 5.0417591,26.575873 1.0711626,26.482319 C 0.2985676,37.970293 0.1155506,74.017367 7.4622656,86.211213 C 28.498815,87.827471 50.605355,84.603156 69.86495,80.39009 C 75.4213,78.788149 81.863903,76.332042 84.289656,68.909125 C 77.942465,52.081109 74.729634,35.709124 73.615678,14.520072 C 62.234319,20.019944 29.515598,23.38805 16.553429,23.310127 z"
style="fill:#000000;fill-opacity:0.29411765;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
style="fill:#593a28;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 18.731517,18.950258 C 17.199227,19.143469 15.738285,19.672882 14.498398,20.459106 C 10.38072,23.597429 7.3780328,22.729413 3.4072387,22.814173 C 3.1510591,34.325247 4.586196,70.344206 12.472826,82.196006 C 33.560719,82.866412 55.500256,78.653097 74.551338,73.579812 C 80.030185,71.730089 86.356053,68.987282 88.446184,61.462966 C 81.350066,44.936803 77.405618,28.725526 75.341716,7.6078283 C 64.218689,13.613009 31.68412,18.446297 18.731517,18.950258 z"
id="path3206"
sodipodi:nodetypes="cccccccc" />
<path
style="fill:url(#linearGradient3231);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 8.1605538,27.362794 C 12.019162,27.63702 14.869539,26.170859 17.420256,24.112579 C 17.030684,44.480558 20.434929,56.053542 26.490043,71.691125 C 25.744298,72.922005 24.7408,73.895805 23.618807,74.655069 C 22.232381,73.09226 20.488281,67.584187 17.937972,57.182662 C 19.73107,67.26128 21.141798,70.827244 22.615578,75.262865 C 21.428683,75.905473 20.162659,76.343185 18.959566,76.619426 C 17.353677,71.381111 14.854923,65.806863 12.539324,49.362507 C 13.354258,59.976511 16.392866,71.958257 17.878126,76.828698 C 16.888838,76.984723 15.978069,77.03133 15.235941,76.996056 C 9.8248044,64.53868 8.1254824,40.705073 8.1605538,27.362794 z"
id="path2187"
sodipodi:nodetypes="ccccccccccc" />
<path
style="fill:url(#linearGradient3223);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 19.259967,23.627511 C 34.389447,22.071065 55.883771,20.573825 71.469609,13.814079 C 72.197652,22.133064 73.2106,30.981411 75.974058,39.565892 C 75.582658,46.243513 68.611116,45.628927 62.888657,48.268292 C 65.453606,53.230886 67.158756,61.009359 62.727203,63.809025 C 53.747832,69.48181 29.615587,71.94095 28.42099,70.6698 C 22.554402,55.879649 19.184811,39.566671 19.259967,23.627511 z"
id="path2189"
sodipodi:nodetypes="ccccscc" />
<path
style="fill:#ffc93f;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 16.266226,77.983043 C 19.041392,77.804557 21.368935,77.01014 23.253579,76.019593 C 24.895877,75.931672 43.667077,73.46464 45.644446,73.342934 C 44.353058,73.239044 26.130969,75.492839 24.282192,75.43522 C 25.718956,74.556128 26.84591,73.595604 27.665825,72.8 C 38.113954,73.629466 71.742782,66.888707 83.020481,61.851162 C 82.151502,64.218427 78.962459,66.2515 76.917695,67.509881 C 71.329997,71.37153 26.958149,78.521506 16.266226,77.983043 z"
id="path2191"
sodipodi:nodetypes="cccccccc" />
<path
style="fill:url(#linearGradient4216);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 65.420291,63.766341 C 70.525534,61.436884 75.931571,51.631605 76.457969,43.061593 C 73.986526,48.387238 68.926819,48.504415 66.432973,49.727604 C 67.456931,52.169525 70.216496,59.872131 65.420291,63.766341 z"
id="path3164"
sodipodi:nodetypes="cccc" />
<path
id="path3166"
d="M 77.64714,45.644326 C 78.446243,50.991402 70.137823,64.357246 67.587725,64.470052 C 69.317665,64.087291 79.782932,61.510888 82.438849,59.543858 C 81.321511,56.043948 78.982267,49.391565 77.64714,45.644326 z"
style="fill:url(#linearGradient3239);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
sodipodi:nodetypes="cccc" />
<path
style="fill:url(#linearGradient5212);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 72.642135,24.566066 C 46.2562,31.159967 39.10513,36.997994 38.846759,70.385673 C 46.873879,69.383593 57.410018,67.177221 62.713035,63.827001 C 67.144584,61.027339 65.460167,53.212749 62.89522,48.250158 C 68.617677,45.610793 75.621158,46.273974 76.012562,39.596356 C 74.41651,34.638324 73.352706,29.547314 72.642135,24.566066 z"
id="path4224"
sodipodi:nodetypes="ccsccc" />
<g
id="g677"
transform="matrix(0.6937679,-0.1900755,0.1900755,0.6937679,6.363737,8.8763249)">
<defs
id="defs611">
<linearGradient
id="linearGradient626">
<stop
style="stop-color:#b5772d;stop-opacity:1;"
offset="0.000000"
id="stop627" />
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="1.000000"
id="stop628" />
</linearGradient>
<linearGradient
id="linearGradient619">
<stop
style="stop-color:#770000;stop-opacity:1;"
offset="0.000000"
id="stop620" />
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="1.000000"
id="stop621" />
</linearGradient>
</defs>
<sodipodi:namedview
id="namedview687" />
<path
style="fill:#000000;fill-opacity:0.28318601;fill-rule:evenodd;stroke:none;stroke-width:1pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 9.33685,82.1156 C 17.9129,79.7641 30.9112,77.5637 40.1097,71.8924 C 56.9851,62.0714 66.0118,41.6332 76.4551,25.5877 C 77.285,12.3086 64.1128,5.96872 59.1331,8.87345 C 46.4766,25.4722 37.5548,43.5235 23.4458,55.9725 C 19.0886,66.5542 9.12934,82.738 9.33685,82.1156 z"
id="path632"
sodipodi:nodetypes="cccccc"
transform="translate(3.814559,2.934275)" />
<path
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 9.33685,82.1156 C 17.9129,79.7641 28.5638,74.9228 37.7623,69.2516 C 54.6377,59.4306 64.2512,38.4055 74.6945,22.36 C 75.5244,9.08092 64.1128,5.96872 59.1331,8.87345 C 46.4766,25.4722 37.5548,43.5235 23.4458,55.9725 C 19.0886,66.5542 9.12934,82.738 9.33685,82.1156 z"
id="path617"
sodipodi:nodetypes="cccccc" />
<path
style="fill:#be6d6d;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 71.9972,20.9076 C 70.2682,23.3974 68.5391,25.8872 66.8101,28.377 C 64.5278,22.9824 61.8305,20.2851 54.9835,19.6627 C 57.1967,16.9654 59.4098,14.2681 61.623,11.5708 C 67.1559,10.9483 71.4439,15.7205 71.9972,20.9076 z"
id="path613"
sodipodi:nodetypes="ccccc" />
<path
style="fill:#ffbc24;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 54.776,20.9076 C 60.1706,20.5618 63.9053,24.5732 65.9801,29.207 C 57.5424,42.8318 50.5571,56.2492 36.3098,66.9692 C 36.3098,66.9692 32.7826,56.8024 27.5955,58.0474 C 34.0275,50.7854 48.9664,30.037 54.776,20.9076 z"
id="path614"
sodipodi:nodetypes="ccccc" />
<path
style="fill:#e9dbb9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 27.0767,58.6698 C 31.7451,58.4277 35.6873,63.9953 34.6499,67.3842 C 32.6442,68.9057 29.3937,70.4273 27.388,71.9488 C 27.0422,69.1824 25.244,67.0384 21.3709,67.3842 C 23.0999,64.4102 25.3477,61.6438 27.0767,58.6698 z"
id="path615"
sodipodi:nodetypes="ccccc" />
<path
style="fill:#586f93;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 21.7859,66.9692 C 25.3477,66.1393 26.8347,69.6665 27.5955,71.7414 L 14.3164,77.7584 L 21.7859,66.9692 z"
id="path616"
sodipodi:nodetypes="cccc" />
<path
style="fill:url(#linearGradient1095);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 71.9972,20.9076 C 70.2682,23.3974 68.5391,25.8872 66.8101,28.377 C 64.5278,22.9824 61.8305,20.2851 54.9835,19.6627 C 57.1967,16.9654 59.4098,14.2681 61.623,11.5708 C 67.1559,10.9483 71.4439,15.7205 71.9972,20.9076 z"
id="path618"
sodipodi:nodetypes="ccccc" />
<path
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 62.8679,12.1932 L 57.4733,19.0402 L 60.3781,20.0776 L 65.7727,13.6456 L 62.8679,12.1932 z"
id="path623"
sodipodi:nodetypes="ccccc" />
<path
style="fill:url(#linearGradient1096);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 54.776,20.9076 C 60.1706,20.5618 63.9053,24.5732 65.9801,29.207 C 57.5424,42.8318 50.5571,56.2492 36.3098,66.9692 C 36.3098,66.9692 32.7826,56.8024 27.5955,58.0474 C 34.0275,50.7854 48.9664,30.037 54.776,20.9076 z"
id="path624"
sodipodi:nodetypes="ccccc" />
<path
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 29.6703,56.18 C 30.9152,56.9408 32.1601,57.7015 33.405,58.4623 C 42.5344,47.6039 46.6841,36.5381 58.9257,24.6423 C 57.7499,23.8815 56.5742,23.1208 55.3984,22.36 C 48.0673,35.0857 39.6987,47.3965 29.6703,56.18 z"
id="path630"
sodipodi:nodetypes="ccccc" />
<path
style="fill:#9c7850;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 34.7538,67.2805 C 34.9612,65.1019 34.4425,63.5457 33.3013,61.7821 C 31.7798,65.171 29.4283,67.6262 26.1431,68.4216 C 25.4169,69.044 27.388,70.3927 27.5955,71.6376 C 29.4629,70.4964 34.7538,67.9029 34.7538,67.2805 z"
id="path631"
sodipodi:nodetypes="ccccc" />
</g>
</svg>
/branches/BR-0.3/basico/widgets/wdg_visor_annotations.py
37,10 → 37,8
self.app = app
self.bag = []
self.get_services()
self.srvgui.set_key_value('ANNOTATIONS_CATEGORY_INBOX_VISIBLE', True)
self.srvgui.set_key_value('ANNOTATIONS_CATEGORY_DRAFTS_VISIBLE', False)
self.srvgui.set_key_value('ANNOTATIONS_CATEGORY_ARCHIVED_VISIBLE', False)
self.setup_left_panel()
self.set_initial_panel_button_status()
self.setup_visor()
self.config = self.get_config()
category = self.srvgui.get_widget('gtk_togglebutton_inbox')
59,6 → 57,21
self.srvant = self.app.get_service('Annotation')
 
 
def set_initial_panel_button_status(self):
# Categories
self.srvgui.set_key_value('ANNOTATIONS_CATEGORY_INBOX_VISIBLE', True)
self.srvgui.set_key_value('ANNOTATIONS_CATEGORY_DRAFTS_VISIBLE', False)
self.srvgui.set_key_value('ANNOTATIONS_CATEGORY_ARCHIVED_VISIBLE', False)
 
# Types
self.srvgui.set_key_value('ANNOTATIONS_TYPE_FIXME_VISIBLE', True)
self.srvgui.set_key_value('ANNOTATIONS_TYPE_NOTE_VISIBLE', True)
self.srvgui.set_key_value('ANNOTATIONS_TYPE_PROCEDURE_VISIBLE', True)
self.srvgui.set_key_value('ANNOTATIONS_TYPE_SNIPPET_VISIBLE', True)
self.srvgui.set_key_value('ANNOTATIONS_TYPE_TEMPLATE_VISIBLE', True)
self.srvgui.set_key_value('ANNOTATIONS_TYPE_TODO_VISIBLE', True)
 
 
def get_treeview(self):
return self.treeview
 
67,56 → 80,117
self.sorted_model.set_sort_column_id(11, Gtk.SortType.DESCENDING)
 
 
def set_visible_category_inbox(self, togglebutton):
def set_visible_categories(self, togglebutton):
types = self.srvgui.get_widget('gtk_togglebutton_types')
revealer = self.srvgui.get_widget('gtk_revealer_annotations_categories')
 
active = togglebutton.get_active()
self.srvgui.set_key_value('ANNOTATIONS_CATEGORY_INBOX_VISIBLE', active)
self.populate_annotations()
if active:
types.set_active(False)
revealer.set_reveal_child(active)
 
 
def set_visible_category_drafts(self, togglebutton):
def set_visible_types(self, togglebutton):
categories = self.srvgui.get_widget('gtk_togglebutton_categories')
revealer = self.srvgui.get_widget('gtk_revealer_annotations_types')
 
active = togglebutton.get_active()
self.srvgui.set_key_value('ANNOTATIONS_CATEGORY_DRAFTS_VISIBLE', active)
if active:
categories.set_active(False)
revealer.set_reveal_child(active)
 
def set_visible_category(self, togglebutton, title):
active = togglebutton.get_active()
self.srvgui.set_key_value('ANNOTATIONS_CATEGORY_%s_VISIBLE' % title.upper(), active)
self.populate_annotations()
 
 
def set_visible_category_archived(self, togglebutton):
def set_visible_annotation_type(self, togglebutton, atype):
active = togglebutton.get_active()
self.srvgui.set_key_value('ANNOTATIONS_CATEGORY_ARCHIVED_VISIBLE', active)
self.srvgui.set_key_value('ANNOTATIONS_TYPE_%s_VISIBLE' % atype.upper(), active)
self.populate_annotations()
 
 
def setup_left_panel(self):
vbox = Gtk.VBox()
vbox.set_hexpand(False)
vbox_main = Gtk.VBox()
vbox_main.set_hexpand(False)
 
button = self.srvgui.add_widget('gtk_togglebutton_inbox', Gtk.ToggleButton())
button.set_relief(Gtk.ReliefStyle.NONE)
button.connect('toggled', self.set_visible_category_inbox)
icon = self.srvicm.get_image_icon('basico-inbox', 48, 48)
button.add(icon)
vbox.pack_start(button, False, False, 6)
def create_panel_elem_button(icon, title):
button = self.srvgui.add_widget('gtk_togglebutton_%s' % title, Gtk.ToggleButton())
button.set_relief(Gtk.ReliefStyle.NONE)
icon = self.srvicm.get_image_icon(icon, 24, 24)
label = Gtk.Label('')
label.set_markup('<small>%s</small>' % title.capitalize())
hbox_cat_elem = Gtk.HBox()
hbox_cat_elem.set_hexpand(False)
hbox_cat_elem.pack_start(icon, False, False, 3)
hbox_cat_elem.pack_start(label, False, False, 3)
button.add(hbox_cat_elem)
 
button = self.srvgui.add_widget('gtk_togglebutton_drafts', Gtk.ToggleButton())
return button
 
# Categories
button = self.srvgui.add_widget('gtk_togglebutton_categories', Gtk.ToggleButton())
button.set_relief(Gtk.ReliefStyle.NONE)
button.connect('toggled', self.set_visible_category_drafts)
icon = self.srvicm.get_image_icon('basico-drafts', 48, 48)
button.add(icon)
vbox.pack_start(button, False, False, 6)
button.connect('toggled', self.set_visible_categories)
icon = self.srvicm.get_image_icon('basico-category', 48, 48)
label = Gtk.Label('')
label.set_markup('<b>Categories</b>')
hbox_cat = Gtk.HBox()
hbox_cat.set_hexpand(True)
hbox_cat.pack_start(icon, False, False, 3)
hbox_cat.pack_start(label, False, False, 3)
button.add(hbox_cat)
vbox_main.pack_start(button, False, False, 6)
 
button = self.srvgui.add_widget('gtk_togglebutton_archived', Gtk.ToggleButton())
revealer = self.srvgui.add_widget('gtk_revealer_annotations_categories', Gtk.Revealer())
vbox_revealer = Gtk.VBox()
vbox_revealer.set_hexpand(False)
 
for name in ['inbox', 'drafts', 'archived']:
button = create_panel_elem_button('basico-%s' % name.lower(), name)
button.connect('toggled', self.set_visible_category, name)
vbox_revealer.pack_start(button, False, False, 3)
 
revealer.add(vbox_revealer)
vbox_main.pack_start(revealer, False, False, 6)
 
# Types
button = self.srvgui.add_widget('gtk_togglebutton_types', Gtk.ToggleButton())
button.set_relief(Gtk.ReliefStyle.NONE)
button.connect('toggled', self.set_visible_category_archived)
icon = self.srvicm.get_image_icon('basico-archived', 48, 48)
button.add(icon)
button.connect('toggled', self.set_visible_types)
icon = self.srvicm.get_image_icon('basico-type', 48, 48)
label = Gtk.Label('')
label.set_markup('<b>Types</b>')
hbox_type = Gtk.HBox()
hbox_type.pack_start(icon, False, False, 3)
hbox_type.pack_start(label, False, False, 3)
button.add(hbox_type)
vbox_main.pack_start(button, False, False, 6)
 
vbox.pack_start(button, False, False, 6)
self.pack_start(vbox, False, False, 6)
revealer = self.srvgui.add_widget('gtk_revealer_annotations_types', Gtk.Revealer())
vbox_revealer = Gtk.VBox()
vbox_revealer.set_hexpand(False)
 
for name in ['FIXME', 'TODO', 'note', 'procedure', 'snippet', 'template', 'email']:
self.debug("ICON NAME:: %s" % name)
button = create_panel_elem_button('basico-annotation-type-%s' % name.lower(), name.lower())
button.set_active(True)
button.connect('toggled', self.set_visible_annotation_type, name)
vbox_revealer.pack_start(button, False, False, 3)
 
revealer.add(vbox_revealer)
vbox_main.pack_start(revealer, False, False, 6)
 
self.pack_start(vbox_main, False, False, 6)
self.pack_start(Gtk.VSeparator(), False, False, 6)
 
 
def setup_visor(self):
scr = Gtk.ScrolledWindow()
scr.set_hexpand(True)
scr.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC)
scr.set_shadow_type(Gtk.ShadowType.IN)
scr.set_shadow_type(Gtk.ShadowType.NONE)
viewport = Gtk.Viewport()
self.treeview = Gtk.TreeView()
viewport.add(self.treeview)
435,100 → 509,16
def set_bag(self, annotations):
self.bag = annotations
 
 
def get_bag(self):
return self.bag
 
 
def reload(self):
bag = self.get_bag()
self.populate_annotations(bag)
 
 
def populate_sapnotes(self, bag=None, cid=None):
icon_annotation = self.srvicm.get_pixbuf_icon('basico-annotation', 32, 32)
icon_content = self.srvicm.get_pixbuf_icon('basico-logviewer', 32, 32)
icon_link = self.srvicm.get_pixbuf_icon('basico-browser', 32, 32)
icon_empty = self.srvicm.get_pixbuf_icon('basico-empty', 32, 32)
icon_sapnote = self.srvicm.get_pixbuf_icon('basico-sapnote', 32, 32)
icon_bookmark = self.srvicm.get_pixbuf_icon('basico-bookmarks', 32, 32)
self.column_sid.set_visible(True)
self.column_checkbox.set_visible(False)
self.column_category.set_visible(False)
self.column_component.set_visible(True)
completion = self.srvgui.get_widget('gtk_entrycompletion_visor')
completion_model = completion.get_model()
completion_model.clear()
# ~ self.app.debug("VISOR:: %s" % bag)
# ~ self.srvclb.gui_show_dashboard()
 
if bag is None:
bag = self.bag
else:
self.bag = bag
 
 
self.model.clear()
 
for sid in self.bag:
metadata = self.srvdtb.get_sapnote_metadata(sid)
if metadata is not None:
bookmark = metadata['bookmark']
title = escape(metadata['title'])
sid = str(int(metadata['id']))
if bookmark:
icon = icon_bookmark
title = "<b>%s</b>" % title
sid = "<b>%s</b>" % sid
else:
icon = icon_sapnote
 
timestamp = metadata['releaseon']
timestamp = timestamp.replace('-', '')
timestamp = timestamp.replace(':', '')
timestamp = timestamp.replace('T', '_')
 
node = self.get_node( int(metadata['id']),
icon,
bookmark,
'<b>%s</b>' % sid,
title,
escape(metadata['componentkey']),
escape(metadata['category']),
escape(metadata['type']),
escape(metadata['priority']),
self.srvutl.fuzzy_date_from_timestamp(timestamp),
'',
timestamp
)
pid = self.model.append(None, node)
 
# Load annotations
files = self.srvant.get_by_sid(metadata['id'])
for fname in files:
with open(fname, 'r') as fa:
annotation = json.load(fa)
# ~ self.debug("Populating annotation: %s" % annotation['aid'])
node = self.get_node( 0,
icon_annotation,
False,
'',
annotation['title'],
annotation['component'],
'',
annotation['type'],
'',
self.srvutl.fuzzy_date_from_timestamp(annotation['timestamp']),
annotation['aid'],
annotation['timestamp']
)
self.model.append(pid, node)
self.treeview.set_model(self.sorted_model)
self.update_total_annotations_count()
self.show_widgets()
stack = self.srvgui.get_widget('gtk_stack_main')
stack.set_visible_child_name('visor')
# ~ self.srvant.get_all()
 
 
def populate_annotations(self, annotations=None):
icon_annotation = self.srvicm.get_pixbuf_icon('basico-annotation', 32, 32)
icon_content = self.srvicm.get_pixbuf_icon('basico-logviewer', 32, 32)
563,49 → 553,55
annotation = json.load(fa)
category = annotation['category']
atype = annotation['type']
key = 'ANNOTATIONS_CATEGORY_%s_VISIBLE' % category.upper()
category_active = self.srvgui.get_key_value(key)
cat_key = 'ANNOTATIONS_CATEGORY_%s_VISIBLE' % category.upper()
type_key = 'ANNOTATIONS_TYPE_%s_VISIBLE' % atype.upper()
category_active = self.srvgui.get_key_value(cat_key)
try:
type_active = self.srvgui.get_key_value(type_key)
except:
type_active = True
if category_active:
# ~ try:
# ~ ppid = dcats[category]
# ~ except:
# ~ icon = self.srvicm.get_pixbuf_icon('basico-%s' % category.lower(), 48, 48)
# ~ node = self.get_node( 0,
# ~ icon,
# ~ False,
# ~ '',
# ~ "<b>%s</b>" % annotation['category'],
# ~ '',
# ~ '',
# ~ '',
# ~ '',
# ~ '',
# ~ '',
# ~ '',
# ~ )
# ~ ppid = self.model.append(None, node)
# ~ dcats[annotation['category']] = ppid
ppid = None
sid = self.srvant.get_sid(annotation['aid'])
icon = self.srvicm.get_pixbuf_icon('basico-annotation-type-%s' % atype.lower(), 48, 48)
if icon is None:
icon = self.srvicm.get_pixbuf_icon('basico-annotation', 48, 48)
if type_active:
# ~ try:
# ~ ppid = dcats[category]
# ~ except:
# ~ icon = self.srvicm.get_pixbuf_icon('basico-%s' % category.lower(), 48, 48)
# ~ node = self.get_node( 0,
# ~ icon,
# ~ False,
# ~ '',
# ~ "<b>%s</b>" % annotation['category'],
# ~ '',
# ~ '',
# ~ '',
# ~ '',
# ~ '',
# ~ '',
# ~ '',
# ~ )
# ~ ppid = self.model.append(None, node)
# ~ dcats[annotation['category']] = ppid
ppid = None
sid = self.srvant.get_sid(annotation['aid'])
icon = self.srvicm.get_pixbuf_icon('basico-annotation-type-%s' % atype.lower(), 36, 36)
if icon is None:
icon = self.srvicm.get_pixbuf_icon('basico-annotation', 36, 36)
 
node = self.get_node( 0,
icon,
False,
str(int(sid)),
annotation['title'],
annotation['component'],
annotation['category'],
annotation['type'],
'',
self.srvutl.fuzzy_date_from_timestamp(annotation['timestamp']),
annotation['aid'],
annotation['timestamp']
)
# ~ self.app.debug(node)
self.model.append(ppid, node)
node = self.get_node( 0,
icon,
False,
str(int(sid)),
annotation['title'],
annotation['component'],
annotation['category'],
annotation['type'],
'',
self.srvutl.fuzzy_date_from_timestamp(annotation['timestamp']),
annotation['aid'],
annotation['timestamp']
)
# ~ self.app.debug(node)
self.model.append(ppid, node)
except:
# Whenever an annotation is deleted, after reloading
# the view, it fails. Then, skip it
680,7 → 676,6
return box
 
 
 
# ~ def separator_func(self, model, treeiter, user_data=None):
# ~ """
# ~ Call user function to determine if this node is separator
/branches/BR-0.3/setup.py
63,11 → 63,13
'basico/data/icons/basico-about.svg',
'basico/data/icons/basico-add.svg',
'basico/data/icons/basico-annotation.svg',
'basico/data/icons/basico-annotation-type-note.svg',
'basico/data/icons/basico-annotation-type-fixme.svg',
'basico/data/icons/basico-annotation-type-procedure.svg',
'basico/data/icons/basico-annotation-type-snippet.svg',
'basico/data/icons/basico-annotation-type-template.svg',
'basico/data/icons/basico-annotation-type-todo.svg',
'basico/data/icons/basico-annotation-type-email.svg',
'basico/data/icons/basico-archived.svg',
'basico/data/icons/basico-backup.svg',
'basico/data/icons/basico-backup-restore.svg',