Mercurial > pidgin.yaz
view pidgin/pixmaps/protocols/scalable/aim.svg @ 28979:c31707e63726
Fix reset-formatting for some cases.
When 'wbfo' (whole buffer formatting only) is set for an imhtml:
- always reset formatting of all the text in the imhtml
When 'wbfo' is not set:
- if some text is selected, reset formatting for the selected text
- if no text is selected, reset formatting for the current location
(insert) only, and leave the rest of the text alone.
We were doing this last thing wrong. Fixes #4499.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 20 Nov 2009 08:02:10 +0000 |
parents | caa70003bee8 |
children |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Created with Inkscape (http://www.inkscape.org/) --> <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" width="48" height="48" id="svg2" sodipodi:version="0.32" inkscape:version="0.46" version="1.0" sodipodi:docbase="/home/hbons/Desktop/Gaim Refresh/protocols/48" sodipodi:docname="aim.svg" inkscape:export-filename="/home/hbons/Desktop/Gaim Refresh/protocols/48/aim.png" inkscape:export-xdpi="90" inkscape:export-ydpi="90" inkscape:output_extension="org.inkscape.output.svg.inkscape"> <defs id="defs4"> <linearGradient inkscape:collect="always" id="linearGradient2263"> <stop style="stop-color:#edc100;stop-opacity:1;" offset="0" id="stop2265" /> <stop style="stop-color:#edc100;stop-opacity:0;" offset="1" id="stop2267" /> </linearGradient> <linearGradient inkscape:collect="always" id="linearGradient2255"> <stop style="stop-color:#edc100;stop-opacity:1;" offset="0" id="stop2257" /> <stop style="stop-color:#edc100;stop-opacity:0;" offset="1" id="stop2259" /> </linearGradient> <linearGradient inkscape:collect="always" id="linearGradient3150"> <stop style="stop-color:#2e3436;stop-opacity:1;" offset="0" id="stop3152" /> <stop style="stop-color:#2e3436;stop-opacity:0;" offset="1" id="stop3154" /> </linearGradient> <radialGradient inkscape:collect="always" xlink:href="#linearGradient3150" id="radialGradient4330" gradientUnits="userSpaceOnUse" gradientTransform="matrix(-0.842757,5.698892e-16,-4.565819e-9,-0.35721,19.80716,14.19321)" cx="10.748654" cy="10.457643" fx="10.748654" fy="10.457643" r="6.6449099" /> <linearGradient inkscape:collect="always" xlink:href="#linearGradient2255" id="linearGradient2261" x1="12.514956" y1="18.690643" x2="12.514956" y2="3.9849093" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1.943689,0,0,1.932352,0.678089,2.050925)" /> <linearGradient inkscape:collect="always" xlink:href="#linearGradient2263" id="linearGradient2269" x1="10.555883" y1="8.0642843" x2="10.555883" y2="1.4995424" gradientUnits="userSpaceOnUse" /> </defs> <sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="12.865422" inkscape:cx="46.678288" inkscape:cy="27.286544" inkscape:document-units="px" inkscape:current-layer="layer1" showgrid="true" fill="#edd400" showguides="true" inkscape:guide-bbox="true" inkscape:window-width="1268" inkscape:window-height="971" inkscape:window-x="6" inkscape:window-y="21" /> <metadata id="metadata7"> <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> <g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1"> <path style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999982;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="M 23.921379,18.772128 C 20.531101,16.831234 19.828661,25.427448 17.466079,29.485095 C 15.153694,33.456532 7.4937606,36.040098 7.4937606,36.040098 L 12.246433,45.509102 L 23.851631,34.738731 C 23.851631,34.738731 31.648476,39.799175 34.033545,45.317469 L 40.310948,39.242775 C 40.310948,39.242775 37.012166,32.72261 29.680284,28.21162 L 40.506226,26.642559 L 38.998349,19.157061 C 31.992149,20.83538 27.747274,20.962407 23.921379,18.772128 z " id="path1324" sodipodi:nodetypes="czccccccccs" /> <path sodipodi:type="arc" style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.72577804;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" id="path1326" sodipodi:cx="10.555883" sodipodi:cy="4.0385542" sodipodi:rx="5.074944" sodipodi:ry="5.074944" d="M 15.630827 4.0385542 A 5.074944 5.074944 0 1 1 5.4809394,4.0385542 A 5.074944 5.074944 0 1 1 15.630827 4.0385542 z" transform="matrix(1.37826,0,0,1.377401,12.95457,3.935583)" /> <path sodipodi:type="arc" style="opacity:0.25;fill:url(#radialGradient4330);fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" id="path3140" sodipodi:cx="10.748654" sodipodi:cy="10.457643" sodipodi:rx="6.6449099" sodipodi:ry="2.3675451" d="M 17.393564 10.457643 A 6.6449099 2.3675451 0 1 1 4.1037445,10.457643 A 6.6449099 2.3675451 0 1 1 17.393564 10.457643 z" transform="matrix(3.310805,0,0,2.323084,-11.5867,18.20601)" /> <path style="opacity:1;fill:url(#linearGradient2261);fill-opacity:1;stroke:#b49500;stroke-width:0.99999982;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="M 23.921379,18.772128 C 20.531101,16.831234 21.460943,23.017888 19.098361,27.075535 C 16.785976,31.046972 7.4937606,36.040098 7.4937606,36.040098 L 12.246433,45.509102 L 23.851631,34.738731 C 23.851631,34.738731 31.648476,39.799175 34.033545,45.317469 L 40.310948,39.242775 C 40.310948,39.242775 37.012166,32.72261 29.680284,28.21162 L 40.661681,26.564831 L 38.687438,18.690695 C 31.681238,20.369014 27.747274,20.962407 23.921379,18.772128 z " id="path4275" sodipodi:nodetypes="czccccccccs" /> <path sodipodi:type="inkscape:offset" inkscape:radius="-0.97533494" inkscape:original="M 22.84375 18.40625 C 20.718205 18.345643 21.161009 23.512059 19.09375 27.0625 C 16.781366 31.033937 7.5 36.03125 7.5 36.03125 L 12.25 45.5 L 23.84375 34.75 C 23.84375 34.75 31.646181 39.794206 34.03125 45.3125 L 40.3125 39.25 C 40.312501 39.25 37.019382 32.72974 29.6875 28.21875 L 40.65625 26.5625 L 38.6875 18.6875 C 31.681299 20.365819 27.732145 20.971529 23.90625 18.78125 C 23.482465 18.538638 23.147399 18.414908 22.84375 18.40625 z " xlink:href="#path4275" style="opacity:0.5;fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:0.99999988;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" id="path4304" inkscape:href="#path4275" d="M 22.53125,19.15625 C 22.35655,19.185124 22.015713,19.423413 21.625,20.09375 C 21.234287,20.764087 20.848022,21.75407 20.46875,22.875 C 19.710206,25.11686 19.002281,27.842341 17.84375,29.84375 C 16.485288,32.190546 13.833524,33.858876 11.53125,35.0625 C 9.7758989,35.980194 8.9024732,36.291093 8.25,36.53125 L 12,44.09375 L 22.8125,34 C 23.141077,33.70262 23.62883,33.664114 24,33.90625 C 24,33.90625 26.045443,35.241847 28.375,37.28125 C 30.391732,39.046791 32.509362,41.396107 33.9375,43.96875 L 38.875,39.1875 C 38.425182,38.341062 35.513684,33.014709 28.875,28.90625 C 28.511738,28.695573 28.324082,28.276051 28.409163,27.864827 C 28.494244,27.453602 28.832963,27.142985 29.25,27.09375 L 39.1875,25.65625 L 38.03125,19.96875 C 31.456326,21.456721 26.979371,21.554763 23.03125,19.28125 C 22.754401,19.121827 22.666044,19.133971 22.53125,19.15625 z " /> <path sodipodi:type="arc" style="opacity:1;fill:url(#linearGradient2269);fill-opacity:1;stroke:#b49500;stroke-width:0.72577804;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" id="path4302" sodipodi:cx="10.555883" sodipodi:cy="4.0385542" sodipodi:rx="5.074944" sodipodi:ry="5.074944" d="M 15.630827 4.0385542 A 5.074944 5.074944 0 1 1 5.4809394,4.0385542 A 5.074944 5.074944 0 1 1 15.630827 4.0385542 z" transform="matrix(1.37826,0,0,1.377401,13.96243,3.935583)" /> <path sodipodi:type="arc" style="opacity:0.5;fill:#fce94f;fill-opacity:1;stroke:#ffffff;stroke-width:0.84666103;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" id="path4273" sodipodi:cx="10.555883" sodipodi:cy="4.0385542" sodipodi:rx="5.074944" sodipodi:ry="5.074944" d="M 15.630827 4.0385542 A 5.074944 5.074944 0 1 1 5.4809394,4.0385542 A 5.074944 5.074944 0 1 1 15.630827 4.0385542 z" transform="matrix(1.181111,0,0,1.181111,16.03826,4.728084)" /> </g> </svg>