[Sugar-devel] [PATCH] Modified Patch for adding feedback-icon.svg to sugar-artwork
Anish Mangal
anishmangal2002 at gmail.com
Sat Jan 29 12:18:14 EST 2011
I like it better than the current one.
Couple of nitpicks:
(1) There is lots of inkscape SPAM. Save the file as a 'simple svg'.
(2) It isn't sugarized [1].
[1] http://wiki.sugarlabs.org/go/Development_Team/Almanac/Making_Icons#Sugarizing_Icons
On Sat, Jan 29, 2011 at 14:10, Frederick Grose <fgrose at gmail.com> wrote:
> I think this would better match the Sugar LI, Learner Interface:
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> <svg
> xmlns:dc="http://purl.org/dc/elements/1.1/"
> xmlns:cc="http://creativecommons.org/ns#"
> xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
> xmlns:svg="http://www.w3.org/2000/svg"
> xmlns="http://www.w3.org/2000/svg"
> xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
> xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
> enable-background="new 0 0 55 55"
> height="55px"
> version="1.1"
> viewBox="0 0 55 55"
> width="55px"
> x="0px"
> xml:space="preserve"
> y="0px"
> id="svg2"
> inkscape:version="0.48.0 r9654"
> sodipodi:docname="emblem-question.svg"><metadata
> id="metadata18"><rdf:RDF><cc:Work
> rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
> rdf:resource="http://purl.org/dc/dcmitype/StillImage"
> /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
> id="defs16" /><sodipodi:namedview
> pagecolor="#ffffff"
> bordercolor="#666666"
> borderopacity="1"
> objecttolerance="10"
> gridtolerance="10"
> guidetolerance="10"
> inkscape:pageopacity="0"
> inkscape:pageshadow="2"
> inkscape:window-width="640"
> inkscape:window-height="480"
> id="namedview14"
> showgrid="false"
> inkscape:zoom="4.7090909"
> inkscape:cx="27.5"
> inkscape:cy="27.5"
> inkscape:window-x="25"
> inkscape:window-y="0"
> inkscape:window-maximized="0"
> inkscape:current-layer="_x3F__x3F__x3F__x3F__x3F__1_" /><g
> display="block"
> id="emblem-question">
> <g
> display="inline"
> id="_x3F__x3F__x3F__x3F__x3F__1_">
> <rect
> fill="#ffffff"
> height="40"
> stroke="#666666"
> stroke-width="3.5"
> width="40"
> x="7.5"
> y="7.5"
> id="rect6" />
> <g
> id="g8"
> transform="matrix(0.89567418,0,0,0.87748738,-3.4622611,0.0756311)">
> <g
> id="g10">
> <path
> d="m 24.825,26.918 c 0,-1.271 1.413,-1.483 2.862,-1.87 1.412,-0.39
> 2.824,-0.954 2.824,-3.003 0,-1.554 -1.447,-2.687 -2.931,-2.687 -2.969,0
> -3.428,3.497 -5.688,3.497 -1.273,0 -2.156,-0.987 -2.156,-2.542 0,-3.709
> 4.664,-5.829 7.843,-5.829 4.556,0 8.441,2.827 8.441,7.559 0,3.922
> -2.471,6.217 -6.109,7.135 v 1.273 c 0,1.413 -1.059,2.438 -2.542,2.438
> -1.591,0 -2.545,-1.024 -2.545,-2.438 v -3.533 z m -0.21,10.811 c 0,-1.52
> 1.236,-2.755 2.756,-2.755 1.52,0 2.754,1.235 2.754,2.755 0,1.518
> -1.234,2.755 -2.754,2.755 -1.52,0 -2.756,-1.237 -2.756,-2.755 z"
> id="path12"
> inkscape:connector-curvature="0"
> style="fill:#666666" />
> </g>
> </g>
> <g
> transform="matrix(0.92437492,0,0,0.86373613,11.011675,7.5831622)"
> enable-background="new "
> id="g11"><path
> style="fill:#666666"
> inkscape:connector-curvature="0"
> d="m 24.563,37.676 c 0,-1.547 1.26,-2.807 2.808,-2.807 1.547,0
> 2.808,1.26 2.808,2.807 0,1.549 -1.261,2.809 -2.808,2.809 -1.548,-10e-4
> -2.808,-1.26 -2.808,-2.809 z m 0.216,-21.237 c 0,-1.512 1.116,-2.447
> 2.592,-2.447 1.44,0 2.591,0.972 2.591,2.447 v 13.858 c 0,1.477 -1.151,2.449
> -2.591,2.449 -1.476,0 -2.592,-0.938 -2.592,-2.449 V 16.439 z"
> id="path13" /></g></g>
> </g></svg>
> --Fred
> On Tue, Jan 18, 2011 at 9:12 AM, Mukesh Gupta <mukeshgupta.2006 at gmail.com>
> wrote:
>>
>> From: root <root at ubuntu.(none)>
>>
>> 1)Icon converted to plain svg format
>>
>> Signed-off-by: Mukesh Gupta <mukeshgupta.2006 at gmail.com>
>> ---
>> icons/scalable/device/Makefile.am | 1 +
>> icons/scalable/device/feedback-icon.svg | 378
>> +++++++++++++++++++++++++++++++
>> 2 files changed, 379 insertions(+), 0 deletions(-)
>> mode change 100644 => 100755 icons/scalable/device/Makefile.am
>> create mode 100755 icons/scalable/device/feedback-icon.svg
>>
>> diff --git a/icons/scalable/device/Makefile.am
>> b/icons/scalable/device/Makefile.am
>> old mode 100644
>> new mode 100755
>> index bca43f0..d75985c
>> --- a/icons/scalable/device/Makefile.am
>> +++ b/icons/scalable/device/Makefile.am
>> @@ -3,6 +3,7 @@ category=device
>> icondir = $(datadir)/icons/sugar/$(iconsize)/$(category)
>>
>> icon_DATA = \
>> + feedback-icon.svg \
>> battery-000.icon \
>> battery-000.svg \
>> battery-010.icon \
>> diff --git a/icons/scalable/device/feedback-icon.svg
>> b/icons/scalable/device/feedback-icon.svg
>> new file mode 100755
>> index 0000000..c7fc9a8
>> --- /dev/null
>> +++ b/icons/scalable/device/feedback-icon.svg
>> @@ -0,0 +1,378 @@
>> +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
>> +<!-- Created with Inkscape (http://www.inkscape.org/) -->
>> +
>> +<svg: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:xlink="http://www.w3.org/1999/xlink"
>> + version="1.0"
>> + width="60"
>> + height="60"
>> + viewBox="0 0 128 128"
>> + id="svg548">
>> + <svg:metadata
>> + id="metadata48">
>> + <rdf:RDF>
>> + <cc:Work
>> + rdf:about="">
>> + <dc:format>image/svg+xml</dc:format>
>> + <dc:type
>> + rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
>> + <dc:title></dc:title>
>> + </cc:Work>
>> + </rdf:RDF>
>> + </svg:metadata>
>> + <svg:defs
>> + id="defs601">
>> + <svg:linearGradient
>> + x1="55.4272"
>> + y1="102.1953"
>> + x2="55.4272"
>> + y2="-7.1773"
>> + id="linearGradient3803"
>> + gradientUnits="userSpaceOnUse"
>> + gradientTransform="translate(0,-0.496766)"
>> + spreadMethod="pad">
>> + <svg:stop
>> + id="stop3805"
>> + style="stop-color:#000000;stop-opacity:1"
>> + offset="0" />
>> + <svg:stop
>> + id="stop3807"
>> + style="stop-color:#59657f;stop-opacity:1"
>> + offset="0.20505001" />
>> + <svg:stop
>> + id="stop3809"
>> + style="stop-color:#b3caff;stop-opacity:1"
>> + offset="0.41010001" />
>> + <svg:stop
>> + id="stop3811"
>> + style="stop-color:#dfeaff;stop-opacity:1"
>> + offset="0.8258" />
>> + <svg:stop
>> + id="stop3813"
>> + style="stop-color:#eff4ff;stop-opacity:1"
>> + offset="0.91289997" />
>> + <svg:stop
>> + id="stop3815"
>> + style="stop-color:#ffffff;stop-opacity:1"
>> + offset="1" />
>> + <midPointStop
>> + offset="0"
>> + style="stop-color:#7C74FF"
>> + id="midPointStop560" />
>> + <midPointStop
>> + offset="0.5"
>> + style="stop-color:#7C74FF"
>> + id="midPointStop561" />
>> + <midPointStop
>> + offset="0.4101"
>> + style="stop-color:#B3CAFF"
>> + id="midPointStop562" />
>> + <midPointStop
>> + offset="0.5"
>> + style="stop-color:#B3CAFF"
>> + id="midPointStop563" />
>> + <midPointStop
>> + offset="0.8258"
>> + style="stop-color:#DFEAFF"
>> + id="midPointStop564" />
>> + <midPointStop
>> + offset="0.5"
>> + style="stop-color:#DFEAFF"
>> + id="midPointStop565" />
>> + <midPointStop
>> + offset="1"
>> + style="stop-color:#FFFFFF"
>> + id="midPointStop566" />
>> + </svg:linearGradient>
>> + <svg:linearGradient
>> + id="linearGradient2802">
>> + <svg:stop
>> + id="stop2804"
>> + style="stop-color:#1d12aa;stop-opacity:1"
>> + offset="0" />
>> + <svg:stop
>> + id="stop2806"
>> + style="stop-color:#8b12aa;stop-opacity:0"
>> + offset="1" />
>> + </svg:linearGradient>
>> + <svg:linearGradient
>> + id="linearGradient2812">
>> + <svg:stop
>> + id="stop2814"
>> + style="stop-color:#1d25aa;stop-opacity:1"
>> + offset="0" />
>> + <svg:stop
>> + id="stop2816"
>> + style="stop-color:#8b12aa;stop-opacity:0"
>> + offset="1" />
>> + </svg:linearGradient>
>> + <svg:marker
>> + refX="0"
>> + refY="0"
>> + orient="auto"
>> + id="Arrow1Lstart"
>> + style="overflow:visible">
>> + <svg:path
>> + d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
>> + transform="scale(0.8,0.8)"
>> + id="path2991"
>> +
>> style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
>> />
>> + </svg:marker>
>> + <svg:linearGradient
>> + id="linearGradient4766">
>> + <svg:stop
>> + id="stop4768"
>> + style="stop-color:#0447ff;stop-opacity:1"
>> + offset="0" />
>> + <svg:stop
>> + id="stop4770"
>> + style="stop-color:#000000;stop-opacity:0"
>> + offset="1" />
>> + </svg:linearGradient>
>> + <svg:linearGradient
>> + x1="55.4272"
>> + y1="102.1953"
>> + x2="55.4272"
>> + y2="-7.1773"
>> + id="XMLID_1_"
>> + xlink:href="#XMLID_4_"
>> + gradientUnits="userSpaceOnUse"
>> + gradientTransform="translate(0,-0.496766)"
>> + spreadMethod="pad">
>> + <svg:stop
>> + id="stop556"
>> + style="stop-color:#000000;stop-opacity:1"
>> + offset="0" />
>> + <svg:stop
>> + id="stop3799"
>> + style="stop-color:#59657f;stop-opacity:1"
>> + offset="0.20505001" />
>> + <svg:stop
>> + id="stop557"
>> + style="stop-color:#b3caff;stop-opacity:1"
>> + offset="0.41010001" />
>> + <svg:stop
>> + id="stop558"
>> + style="stop-color:#dfeaff;stop-opacity:1"
>> + offset="0.8258" />
>> + <svg:stop
>> + id="stop3801"
>> + style="stop-color:#eff4ff;stop-opacity:1"
>> + offset="0.91289997" />
>> + <svg:stop
>> + id="stop3817"
>> + style="stop-color:#f7f9ff;stop-opacity:1"
>> + offset="0.95644999" />
>> + <svg:stop
>> + id="stop559"
>> + style="stop-color:#ffffff;stop-opacity:1"
>> + offset="1" />
>> + <midPointStop
>> + id="midPointStop560"
>> + style="stop-color:#7C74FF"
>> + offset="0" />
>> + <midPointStop
>> + id="midPointStop561"
>> + style="stop-color:#7C74FF"
>> + offset="0.5" />
>> + <midPointStop
>> + id="midPointStop562"
>> + style="stop-color:#B3CAFF"
>> + offset="0.4101" />
>> + <midPointStop
>> + id="midPointStop563"
>> + style="stop-color:#B3CAFF"
>> + offset="0.5" />
>> + <midPointStop
>> + id="midPointStop564"
>> + style="stop-color:#DFEAFF"
>> + offset="0.8258" />
>> + <midPointStop
>> + id="midPointStop565"
>> + style="stop-color:#DFEAFF"
>> + offset="0.5" />
>> + <midPointStop
>> + id="midPointStop566"
>> + style="stop-color:#FFFFFF"
>> + offset="1" />
>> + </svg:linearGradient>
>> + <svg:linearGradient
>> + x1="54.7607"
>> + y1="7.2758999"
>> + x2="54.7607"
>> + y2="57.487301"
>> + id="XMLID_2_"
>> + gradientUnits="userSpaceOnUse"
>> + spreadMethod="pad">
>> + <svg:stop
>> + id="stop569"
>> + style="stop-color:#ffffff;stop-opacity:1"
>> + offset="0" />
>> + <svg:stop
>> + id="stop570"
>> + style="stop-color:#b3caff;stop-opacity:1"
>> + offset="1" />
>> + <midPointStop
>> + id="midPointStop571"
>> + style="stop-color:#FFFFFF"
>> + offset="0" />
>> + <midPointStop
>> + id="midPointStop572"
>> + style="stop-color:#FFFFFF"
>> + offset="0.5" />
>> + <midPointStop
>> + id="midPointStop573"
>> + style="stop-color:#B3CAFF"
>> + offset="1" />
>> + </svg:linearGradient>
>> + <svg:linearGradient
>> + x1="83.637703"
>> + y1="119.3457"
>> + x2="83.637703"
>> + y2="42.033901"
>> + id="XMLID_3_"
>> + gradientUnits="userSpaceOnUse"
>> + spreadMethod="pad">
>> + <svg:stop
>> + id="stop577"
>> + style="stop-color:#006dff;stop-opacity:1"
>> + offset="0" />
>> + <svg:stop
>> + id="stop578"
>> + style="stop-color:#94caff;stop-opacity:1"
>> + offset="0.41010001" />
>> + <svg:stop
>> + id="stop579"
>> + style="stop-color:#dcf0ff;stop-opacity:1"
>> + offset="0.8258" />
>> + <svg:stop
>> + id="stop580"
>> + style="stop-color:#ffffff;stop-opacity:1"
>> + offset="1" />
>> + <midPointStop
>> + id="midPointStop581"
>> + style="stop-color:#006DFF"
>> + offset="0" />
>> + <midPointStop
>> + id="midPointStop582"
>> + style="stop-color:#006DFF"
>> + offset="0.5" />
>> + <midPointStop
>> + id="midPointStop583"
>> + style="stop-color:#94CAFF"
>> + offset="0.4101" />
>> + <midPointStop
>> + id="midPointStop584"
>> + style="stop-color:#94CAFF"
>> + offset="0.5" />
>> + <midPointStop
>> + id="midPointStop585"
>> + style="stop-color:#DCF0FF"
>> + offset="0.8258" />
>> + <midPointStop
>> + id="midPointStop586"
>> + style="stop-color:#DCF0FF"
>> + offset="0.5" />
>> + <midPointStop
>> + id="midPointStop587"
>> + style="stop-color:#FFFFFF"
>> + offset="1" />
>> + </svg:linearGradient>
>> + <svg:linearGradient
>> + x1="265.11331"
>> + y1="52.250999"
>> + x2="265.11331"
>> + y2="87.743599"
>> + id="XMLID_4_"
>> + gradientUnits="userSpaceOnUse"
>> + gradientTransform="matrix(-1,0,0,1,349,0)"
>> + spreadMethod="pad">
>> + <svg:stop
>> + id="stop590"
>> + style="stop-color:#ffffff;stop-opacity:1"
>> + offset="0" />
>> + <svg:stop
>> + id="stop591"
>> + style="stop-color:#94caff;stop-opacity:1"
>> + offset="1" />
>> + <midPointStop
>> + id="midPointStop592"
>> + style="stop-color:#FFFFFF"
>> + offset="0" />
>> + <midPointStop
>> + id="midPointStop593"
>> + style="stop-color:#FFFFFF"
>> + offset="0.5" />
>> + <midPointStop
>> + id="midPointStop594"
>> + style="stop-color:#94CAFF"
>> + offset="1" />
>> + </svg:linearGradient>
>> + </svg:defs>
>> + <svg:g
>> + id="Layer_2"
>> + style="font-size:12px;stroke:#000000">
>> + <svg:path
>> + d="M 128,128 0,128 0,0 l 128,0 0,128 z"
>> + id="path550"
>> + style="fill:none;stroke:none" />
>> + </svg:g>
>> + <svg:g
>> + id="Layer_1"
>> + style="font-size:12px;stroke:#000000" />
>> + <svg:path
>> + d="m 9.041,92.189 c 0,0 12.914,-6.796 21.069,-24.807 l 22.088,9.515
>> c 0,0 -5.776,15.292 -43.157,15.292 z"
>> + id="path553"
>> + style="font-size:12px;fill:#00008d;stroke:none" />
>> + <svg:path
>> + d="m 1.905,49.712 c 0,21.021 23.962,38.061 53.522,38.061 29.56,0
>> 53.522,-17.04 53.522,-38.061 0,-21.02 -23.962,-38.061 -53.522,-38.061
>> -29.56,0 -53.522,17.041 -53.522,38.061 z"
>> + id="path554"
>> + style="font-size:12px;fill:#00008d;stroke:none" />
>> + <svg:path
>> + d="m 55.427,13.193234 c -28.388,0 -51.484,16.159 -51.484,36.021
>> 0,12.119 8.607,22.853 21.76,29.384 -3.501,4.923 -7.103,8.477 -9.981,10.866
>> 11.988,-0.664 19.942,-3.076 25.161,-5.702 4.615,0.954 9.494,1.474
>> 14.544,1.474 28.388,0 51.483,-16.159 51.483,-36.021 0,-19.862
>> -23.095,-36.022 -51.483,-36.022 z"
>> + id="path567"
>> +
>> style="font-size:12px;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none"
>> />
>> + <svg:path
>> + d="m 12.999,35.282 c 17.045,9.528 36.475,11.867 56.357,6.68
>> 4.104,-1.141 8.271,-2.526 12.3,-3.866 4.854,-1.614 9.848,-3.25 14.868,-4.523
>> C 88.559,23.302 72.888,16.748 55.428,16.748 37.091,16.749 20.396,24.128
>> 12.999,35.282 z"
>> + id="path574"
>> + style="font-size:12px;fill:#ffffff;stroke:none" />
>> + <svg:text
>> + x="32.487"
>> + y="68.007004"
>> + id="text2303"
>> + xml:space="preserve"
>> +
>> style="font-size:48px;font-style:normal;font-weight:bold;fill:#000000;fill-opacity:1;stroke:none;font-family:Microsoft
>> Sans Serif"><svg:tspan
>> + x="32.487"
>> + y="68.007004"
>> + id="tspan2305"
>> +
>> style="font-size:64px;font-style:normal;font-weight:bold;fill:#000000;fill-opacity:1;font-family:sans">?</svg:tspan></svg:text>
>> + <svg:path
>> + d="m 42.401,82.248 c 0,16.712 18.499,30.309 41.237,30.309 3.156,0
>> 6.415,-0.326 9.691,-0.906 4.926,2.166 10.988,3.491 18.108,3.887 l
>> 14.658,0.812 -11.297,-9.378 c -0.731,-0.605 -1.742,-1.531 -2.876,-2.735
>> 8.243,-5.706 12.953,-13.577 12.953,-21.987 0,-16.712 -18.499,-30.308
>> -41.238,-30.308 C 60.9,51.94 42.401,65.536 42.401,82.248 z"
>> + id="path575"
>> + style="font-size:12px;fill:#0032a4;stroke:none" />
>> + <svg:path
>> + d="m 44.823,82.248 c 0,15.376 17.413,27.885 38.814,27.885 3.372,0
>> 6.72,-0.349 9.979,-0.97 4.711,2.205 10.718,3.554 17.955,3.955 l 7.329,0.406
>> -5.649,-4.689 c -1.291,-1.072 -3.089,-2.764 -4.983,-5.081 8.908,-5.267
>> 14.186,-13.125 14.186,-21.506 0,-15.377 -17.412,-27.885 -38.815,-27.885
>> -21.403,0 -38.816,12.508 -38.816,27.885 z"
>> + id="path588"
>> + style="font-size:12px;fill:#ffffff;fill-opacity:1;stroke:none" />
>> + <svg:path
>> + d="m 83.638,57.505 c 14.619,0 27.121,6.272 32.017,15.071
>> -12.72,7.571 -27.472,9.437 -42.226,5.589 C 66.228,76.163 59.247,73.276
>> 52.12,71.719 57.332,63.374 69.498,57.505 83.638,57.505 z"
>> + id="path595"
>> + style="font-size:12px;fill:#ffffff;stroke:none" />
>> + <svg:g
>> + transform="matrix(1.38561,0,0,1.38561,-32.2514,-30.5491)"
>> + id="g4248">
>> + <svg:path
>> + d="m 103.21356,24.205935 a 24.311146,23.627199 0 1 1 -48.622293,0
>> 24.311146,23.627199 0 1 1 48.622293,0 z"
>> + transform="matrix(0.148134,0,0,0.152972,71.9504,64.0705)"
>> + id="path3881"
>> +
>> style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:6.64217997;stroke-linecap:square;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker-start:none"
>> />
>> + <svg:path
>> + d="m 87.539971,77.627004 c 0,0.689736 0.05114,14.289419
>> 0.06759,16.728574 0.01015,1.504861 2.271444,0.6952 2.418949,1.625125
>> 0.251991,1.58864 -3.137824,1.044408 -3.307998,1.036917 -0.974629,-0.0429
>> -4.292747,0.01852 -5.341568,0.01852 -0.275941,0 -3.798427,0.653926
>> -4.062771,-0.726948 -0.242983,-1.269294 2.180288,-1.017736
>> 2.519064,-1.929001 1.237046,-3.327511 1.32145,-10.35088 0.48941,-14.489007
>> -0.419874,-2.088234 -3.393883,-1.527204 -3.059349,-3.031545
>> 0.216072,-0.971628 1.31654,-1.080731 2.087723,-1.345701 1.698554,-0.583605
>> 3.772806,-0.445736 5.228081,-1.501235 1.60838,-1.166545 2.96087,1.619206
>> 2.96087,3.614297 z"
>> + id="path4774"
>> +
>> style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.99987;stroke-linecap:square;stroke-miterlimit:4;stroke-opacity:1;stroke-dashoffset:0;marker-start:none"
>> />
>> + </svg:g>
>> +</svg:svg>
>> --
>> 1.7.1
>>
>> _______________________________________________
>> Sugar-devel mailing list
>> Sugar-devel at lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
--
Anish
More information about the Sugar-devel
mailing list