[Sugar-devel] [DESIGN] [PATCH RFC sugar] Wireless network Frame device: add suport for disabling wireless devices

Frederick Grose fgrose at gmail.com
Thu Jul 7 23:44:44 EDT 2011


On Mon, Jun 27, 2011 at 7:27 AM, Sascha Silbe <silbe at activitycentral.com> wrote:
> This duplicates the existing functionality in the Control Panel for more
> convenient access. Disabling wifi devices can save power, thereby increasing
> battery life.
>
> Signed-off-by: Sascha Silbe <silbe at activitycentral.com>
> ---
>{...}
>
> We could also do with a better icon. Maybe something like the circles
> from emblem-outofrange combined with the arrow from emblem-charging,
> striking out the arrow depending on the current action (disable or enable
> wifi)?

Two potential icons for this purpose follow:

(Adapted from the Fedora HighContrast network-wireless.svg)

Enabling coloring of the icon would help to indicate the locality of the action.

I'm uncertain if the background handling is optimal for the black
control palette.

<?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 "#666666">
    <!ENTITY fill_color "#ffffff">
]><svg height="55px" id="Layer_1" version="1.1" viewBox="0 0 55 55"
width="55px" 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="metadata12"><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="defs10">
</defs>
<path d="m -25.020493,25.584017 a 19.272541,19.272541 0 1 1
-38.545082,0 19.272541,19.272541 0 1 1 38.545082,0 z" id="path5250"
style="fill:#ffffff;;fill-opacity:1;stroke:#ffffff;;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
transform="matrix(1.2037367,0,0,1.2037367,80.81715,-3.29642)"/><g
id="g5276"><path d="m 36.16249,21.545068 a 14,14 0 0 1
0.143788,12.912179" id="path3159-1"
style="fill:none;stroke:&stroke_color;;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"/><path
d="m 18.583255,21.697344 a 14,14 0 0 0 -0.09989,12.687778"
id="path3163-7"
style="fill:none;stroke:&stroke_color;;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"/><path
d="m 41.411429,16 a 19,19 0 0 1 0.175642,22.925015" id="path3165-4"
style="fill:none;stroke:&stroke_color;;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"/><path
d="M 13.588571,16.074985 A 19,19 0 0 0 13.412929,39" id="path3167-3"
style="fill:none;stroke:&stroke_color;;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"/></g><path
d="m 32.412929,28 a 5,5 0 0 1 -10,0 5,5 0 1 1 10,0 z" id="path2385"
style="fill:&fill_color;;fill-opacity:1;stroke:none"/><path d="M
11.75,8.65625 8.90625,11.46875 43.25,46.34375 46.09375,43.53125
11.75,8.65625 z" id="path2989"
style="fill:#000000;fill-opacity:1;stroke:#ffffff;;stroke-width:0.27200001;stroke-miterlimit:4;stroke-opacity:1;"/><path
d="m 27.5,0.625 c -7.059709,0 -14.00803,2.8830332 -19,7.875
-4.9919697,4.991967 -7.875,11.94029 -7.875,19 0,7.05971
2.8830303,14.008033 7.875,19 4.99197,4.991967 11.940291,7.875 19,7.875
7.059709,0 14.00803,-2.883033 19,-7.875 4.99197,-4.991967
7.875,-11.94029 7.875,-19 0,-7.05971 -2.88303,-14.008033 -7.875,-19 C
41.50803,3.5080332 34.559709,0.625 27.5,0.625 z m 0,3.9375 c
5.981978,0 11.988854,2.4888566 16.21875,6.71875 4.229896,4.229893
6.71875,10.236773 6.71875,16.21875 0,5.981977 -2.488854,11.988857
-6.71875,16.21875 C 39.488854,47.948643 33.481978,50.4375 27.5,50.4375
21.518022,50.4375 15.511146,47.948643 11.28125,43.71875
7.0513541,39.488857 4.5625,33.481977 4.5625,27.5 4.5625,21.518023
7.0513541,15.511143 11.28125,11.28125 15.511146,7.0513566
21.518022,4.5625 27.5,4.5625 z" id="path3759"
style="fill:#000000;fill-opacity:1;stroke:#ffffff;;stroke-width:0.5;"/></svg>


<?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 "#666666">
    <!ENTITY fill_color "#ffffff">
]><svg height="55px" viewBox="0 0 55 55" width="55px"
xml:space="preserve" xmlns="http://www.w3.org/2000/svg"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:svg="http://www.w3.org/2000/svg"><metadata
id="metadata12"><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="defs10">
</defs>
<g id="g4240" transform="translate(75.199814,-24.831967)"><path d="m
29,24 a 5,5 0 1 1 -10,0 5,5 0 1 1 10,0 z" id="path2385"
style="fill:&fill_color;;fill-opacity:1;stroke:none"
transform="translate(-71.786885,28.831967)"/><path d="m
36.349644,11.405586 a 14,14 0 0 1 0.143788,12.912179" id="path3159"
style="fill:none;stroke:&stroke_color;;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
transform="translate(-75.386968,34.971449)"/><path d="m
36.429757,11.557862 a 14,14 0 0 1 0.09989,12.687778" id="path3163"
style="fill:none;stroke:&stroke_color;;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
transform="matrix(-1,0,0,1,-20.186802,34.971449)"/><path d="M
39.064398,6.4214032 A 19,19 0 0 1 39.24004,29.346418" id="path3165"
style="fill:none;stroke:&stroke_color;;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
transform="translate(-72.852783,34.410564)"/><path d="M
39.064398,6.4214032 A 19,19 0 0 1 39.24004,29.346418" id="path3167"
style="fill:none;stroke:&stroke_color;;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
transform="matrix(-1,0,0,1,-22.546845,34.485549)"/></g></svg>

      --Fred
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disable-radio.svg
Type: image/svg+xml
Size: 3293 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110707/0bfeea3f/attachment-0002.svg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: enable-radio.svg
Type: image/svg+xml
Size: 1975 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110707/0bfeea3f/attachment-0003.svg>


More information about the Sugar-devel mailing list