[Tuxpaint-devel] Configuration for Current and All Users
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
|
From: Martin F. <mf...@gm...> - 2007-06-18 04:56:08
|
I submitted some additions to Tux Paint Config so that Tux Paint may be configured for the current user or all users via a "Settings for" drop-down menu. Depending on menu selection, clicking "Apply" will write out the settings to the user's config file or the system-wide config file. If a system-wide config file exists, there is an option for the current user to use the system-wide settings (the "Use All Users Settings" checkbox - maybe someone can come up with a better name). If this checkbox is checked, all the configuration widgets are intentionally greyed out and the user config file is deleted; unchecking the checkbox will re-enable the widgets and generate a new user config file. The additions will require some testing on Windows and Linux, to make sure the files are written to the correct locations (for Linux, you'll need to add a CONFDIR variable to the Makefile, similar to the CONFDIR variable in the Tux Paint Makefile), and to ensure any other bugs are caught. Hopefully the usage is clear - let me know if anything isn't! Martin |