[Sugar-devel] [PATCH sugar v2] Add cpu and memory resource indicator to frame

Frederick Grose fgrose at gmail.com
Mon Feb 7 19:45:02 EST 2011


On Mon, Feb 7, 2011 at 4:13 PM, Simon Schampijer <simon at schampijer.de>wrote:

> On 01/25/2011 10:14 PM, Anish Mangal wrote:
>
>> pushed to dx/mainline [1]
>>
>> [1]
>> http://git.sugarlabs.org/dextrose/mainline/commit/1cd4c31cd474bb84985fff97ac5f5b9e693469db
>>
>
> Hi Anish,
>
> did you push as well to sugar mainline?
> http://git.sugarlabs.org/sugar/mainline/commit/e014bc401195a9b096e44d33d7f6135f7ae0c1c6
>
> I think this one is still controversial. At least, I am not really happy
> about including it (as I mainly think the picture we use here, a sad/happy
> computer is not right) in the mainline and I remember others did feel
> similarly.
>
> Regards,
>   Simon


Gary submitted a set of alternate unhappy icons, changing the metaphor to
"happy/strained":
http://lists.sugarlabs.org/archive/sugar-devel/2011-January/029675.html
<http://lists.sugarlabs.org/archive/sugar-devel/2011-January/029675.html>and
Bernie liked computer-sad5.png

(To purge the sadness, it would be best to s/sad/strained in the code and
documentation.)

I found the mouth on that one distorted a bit too much, so am offering this
minor variation.
I also put a narrow stroke on the computer's sweat droplet in case it is
ever viewed in fill mode.

To my amazement, I thought I found a hidden feature that Gary included with
the file:
[image: beer.png]

Here's the new "strained.svg" that has been modified:               --Fred

<?xml version="1.0" ?><!DOCTYPE svg  PUBLIC '-//W3C//DTD SVG 1.1//EN'  '
http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd' [
 <!ENTITY stroke_color "#010101">
<!ENTITY fill_color "#ffffff">
]><svg height="55" id="Layer_1" version="1.1" viewBox="0 0 55 55" width="55"
xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:cc="
http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="
http://www.w3.org/2000/svg"><metadata id="metadata17"><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/></cc:Work></rdf:RDF></metadata><defs
id="defs9"/><g id="computer" style="display:block">
 <path d="m 51.322,41.549 h 0.002 l -0.022,-0.018 c -0.15,-0.109
-12.64,-7.878 -12.64,-7.878 V 9.734 c 0,-1.618 -1.31,-2.932 -2.929,-2.932 h
-30.9 c -1.619,0 -2.931,1.314 -2.931,2.932 v 26.313 c 0,1.096 0.608,2.037
1.498,2.541 l -0.02,0.004 14.603,9.102 c 0.691,0.436 1.528,0.688 2.428,0.688
h 28.212 c 2.352,0 4.278,-1.733 4.278,-3.85 10e-4,-1.202 -0.618,-2.275
-1.579,-2.983 z" id="module-about_x5F_my_x5F_xo"
style="fill:&fill_color;;stroke:&stroke_color;;stroke-width:3.48670006;stroke-linejoin:round"/>
 <path d="m 7.604,13.446 c 0,-0.616 0.504,-1.12 1.12,-1.12 h 23.117 c
0.615,0 1.118,0.503 1.118,1.12 v 16.499 c 0,0.614 -0.503,1.122 -1.118,1.122
H 8.723 c -0.615,0 -1.12,-0.508 -1.12,-1.122 l 0.001,-16.499 0,0 z"
id="path5" style="fill:&stroke_color;"/>
</g><g id="g3651"><circle cx="16" cy="16.5" id="circle8" r="1"
style="fill:&fill_color;;stroke:&fill_color;;stroke-width:2"/><circle
cx="26" cy="16.5" id="circle10" r="1"
style="fill:&fill_color;;stroke:&fill_color;;stroke-width:2"/><path d="m
21,20 0,0.6 0,0" id="path3643"
style="fill:&fill_color;;fill-opacity:1;stroke:&fill_color;;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"/><path
d="m 47.545,7.8760966 c 0,0 -3.543903,5.6351224 -3.543903,11.2702434
0,1.878375 2.067278,2.817563 3.543903,2.817563 1.476627,0 3.543903,-0.939188
3.543903,-2.817563 0,-5.635121 -3.543903,-11.2702434 -3.543903,-11.2702434 l
0,0" id="path3746"
style="fill:&stroke_color;;fill-opacity:1;stroke:&fill_color;;stroke-width:0.912;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"/><path
d="m 26.28205,25.612333 c -3.886686,2.704479 -7.266303,-1.944379
-10.517768,0.400059" id="path3649-7"
style="fill:&stroke_color;;fill-opacity:1;stroke:&fill_color;;stroke-width:2.80227661;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"/></g></svg>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110207/43f76433/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: beer.png
Type: image/png
Size: 33290 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110207/43f76433/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strained.svg
Type: image/svg+xml
Size: 2656 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110207/43f76433/attachment-0001.svg>


More information about the Sugar-devel mailing list