[sugar] [review] controlpanel - modularize model

Simon Schampijer simon
Fri May 9 12:41:08 EDT 2008


Hi,

the first patch to review will modularize the model. Each section has a 
file with it's set/get/print functions placed in a folder called model.

This will then be used by the command-line-interface and the graphical 
frontend.

The timezone is using the environment variable 'TZ' which is set in the 
main function of the shell. The second patch adds the variable to the 
sugar config. All this was done to avoid to use root (since the timezone 
method had to write to /etc/sysconfig/clock before).

Best,
    Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 001_timezone_control.patch
Type: text/x-patch
Size: 1405 bytes
Desc: not available
Url : http://lists.laptop.org/pipermail/sugar/attachments/20080509/159e2dde/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 001_cmd_control.patch
Type: text/x-patch
Size: 22638 bytes
Desc: not available
Url : http://lists.laptop.org/pipermail/sugar/attachments/20080509/159e2dde/attachment-0001.bin 



More information about the Sugar-devel mailing list