summaryrefslogtreecommitdiff
path: root/geneticone/gui/gtk
diff options
context:
space:
mode:
authornecoro <>2006-11-07 20:59:15 +0000
committernecoro <>2006-11-07 20:59:15 +0000
commit30c58a91fee72e2d5fb6b429a97343a12164e93e (patch)
tree7d59d99cb01151f122498d58a67a5a5a371c7bfc /geneticone/gui/gtk
parentd17ba4f22f3f4f38b9ea8963c3e1783cb964d348 (diff)
downloadportato-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.py4
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(\