[sugar] [PATCH] Trac #7480: Need to 'reset' the network configurations - short term fix

Erik Garrison erik
Mon Aug 11 21:31:26 EDT 2008


Attached is a patch which adds a 'reset network configuration' button to
the network tab of the sugar control panel.  Clicking this button simply
rotates the config file out of the way, saving it as
~/.sugar/default/nm/networks.cfg.bak.NNN  (NNN is the number of
previously backed-up configs +1).

This is just a short-term fix (hack) to resolve the problem of not
having any gui-level method to manipulate the nm network configarion.
Eben has noted that we would like to enable config panel level
manipulation of the networks.cfg stanzas; but this requires a bit more
code than this immediate fix.

Erik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trac-7480.network_config_reset.patch
Type: text/x-diff
Size: 4353 bytes
Desc: not available
Url : http://lists.laptop.org/pipermail/sugar/attachments/20080811/52ae1e6a/attachment-0001.patch 



More information about the Sugar-devel mailing list