diff options
author | necoro <> | 2006-11-07 20:59:15 +0000 |
---|---|---|
committer | necoro <> | 2006-11-07 20:59:15 +0000 |
commit | 30c58a91fee72e2d5fb6b429a97343a12164e93e (patch) | |
tree | 7d59d99cb01151f122498d58a67a5a5a371c7bfc /geneticone/gui/gtk/windows.py | |
parent | d17ba4f22f3f4f38b9ea8963c3e1783cb964d348 (diff) | |
download | portato-30c58a91fee72e2d5fb6b429a97343a12164e93e.tar.gz portato-30c58a91fee72e2d5fb6b429a97343a12164e93e.tar.bz2 portato-30c58a91fee72e2d5fb6b429a97343a12164e93e.zip |
new config-parser and a new layout for the config file
Diffstat (limited to '')
-rw-r--r-- | geneticone/gui/gtk/windows.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/geneticone/gui/gtk/windows.py b/geneticone/gui/gtk/windows.py index 98bcba4..4b8cdda 100644 --- a/geneticone/gui/gtk/windows.py +++ b/geneticone/gui/gtk/windows.py @@ -209,9 +209,9 @@ class PreferenceWindow (AbstractDialog): """Sets all options in the Config-instance.""" for box in self.checkboxes: - self.cfg.set(\ + self.cfg.set_boolean(\ self.cfg.const[self.checkboxes[box]],\ - str(self.tree.get_widget(box).get_active())) + self.tree.get_widget(box).get_active()) for edit in self.edits: self.cfg.set(\ |