Hi all: Just wanted to let you all know that I have most of the basics of tuxpaint-config done.
What's done: 1. Writing the tuxpaint.conf file (in the most kludge-tastic way). 2. Reading button states when writing config file. 3. Some misc. callbacks (window callback for "really quit?" question, reset button, apply button, and defaults button). What's yet to be done: 1. Making the apply button active/inactive if the values read from the "config file" differ from the marked values (right now it's always active, and writes to the same file, ./tuxpaint.conf). 2. Reading configuration file, and populate widgets (and default configuration) from config file. 3. Populating the language option box with locally installed languages. Misc. Notes: There are some pretty dorfy parts to this code. I am planning some major rewrites of the stuff that I have done to accomodate the 'apply' button. This has to do with if an option is changed, then we would need to compare the value with the default read from the config file, and not the default set by DEF_* (reset to defaults button). But it basically works to write a basic config file. There are some options that don't work yet, like the print command and the language list. This is all pretty obvious with a look at the code. The function that writes the file is save_conf(). This needs some significant rewriting, which I am painfully aware of, but it works as a proof of concept. I also need to clean it up, there are some incomplete ideas and functions which I need to delete out (as well as my comments to remind myself of stuff). These changes are _not_ in CVS yet. I will wait until I hear word from someone else to make sure that my changes are ok to commit. There's still a bit to be done, but I thought I would give you guys a head's up in case you wanted to take a look at the stuff I'm doing. --thanks jan --- Bill Kendrick <[EMAIL PROTECTED]> wrote: > On Tue, May 18, 2004 at 03:24:05PM -0700, Jan W wrote: > > If anyone is interested, I can submit patches to anyone that would want to > see > > them. I don't know how this project is administered, but my account on > > sourceforge is [EMAIL PROTECTED] > > You're in! > > https://sourceforge.net/project/memberlist.php?group_id=66938 > > You should now be able to pull from, and commit to, CVS directly. > Be careful! :) > > -bill! > _______________________________________________ > Tuxpaint-dev mailing list > [EMAIL PROTECTED] > http://tux4kids.net/mailman/listinfo/tuxpaint-dev ===== <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>< EDUCATION, n. That which discloses to the wise and disguises from the foolish their lack of understanding. <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>< __________________________________ Do you Yahoo!? Yahoo! Domains � Claim yours for only $14.70/year http://smallbusiness.promotions.yahoo.com/offer _______________________________________________ Tuxpaint-dev mailing list [EMAIL PROTECTED] http://tux4kids.net/mailman/listinfo/tuxpaint-dev
