Comment by
matt...@gmail.com:
Score: Positive
General Comment:
That fixed it :) BTW, instead of
conf.set("opening_check", conf.get("opening_check", 0))
all you need to do is
uistuff.keep(widgets["opening_check"], "opening_check", first_value=True)
And uistuff.keep() will set the default conf value to first_value if there
isn't a value in conf for the widget. The corresponding widget will get set
during the call too since it listens to conf changes for its value: (from
uistuff.keep():
conf.notify_add(key, lambda *args: setFromConf())
For more information:
http://code.google.com/p/pychess/source/detail?r=acab4a47ab01c6ef853f1a054f1914de4c7b5e61