From 30c58a91fee72e2d5fb6b429a97343a12164e93e Mon Sep 17 00:00:00 2001 From: necoro <> Date: Tue, 7 Nov 2006 20:59:15 +0000 Subject: new config-parser and a new layout for the config file --- geneticone/gui/gtk/windows.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'geneticone/gui/gtk') 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(\ -- cgit v1.2.3-70-g09d2