diff options
Diffstat (limited to '')
-rw-r--r-- | geneticone/gui/gtk/windows.py | 4 | ||||
-rw-r--r-- | geneticone/gui/gtk/wrapper.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/geneticone/gui/gtk/windows.py b/geneticone/gui/gtk/windows.py index 7b9dd94..efc4cce 100644 --- a/geneticone/gui/gtk/windows.py +++ b/geneticone/gui/gtk/windows.py @@ -195,7 +195,7 @@ class PreferenceWindow (AbstractDialog): self.deepCb = self.draw_cb(box, "--deep", "deep_opt") # --newuse - #self.newuseCb = self.draw_cb(box, "--newuse", "newuse_opt") + self.newuseCb = self.draw_cb(box, "--newuse", "newuse_opt") pHolderLabel = gtk.Label("""<u>For the following options, you might use these placeholders:</u> <b>$(cat)</b> = category @@ -282,7 +282,7 @@ class PreferenceWindow (AbstractDialog): self.cfg.set(self.cfg.const["testingFile_opt"], self.testFileEdit.get_text()) self.cfg.set(self.cfg.const["debug_opt"], str(self.debugCb.get_active())) self.cfg.set(self.cfg.const["deep_opt"], str(self.deepCb.get_active())) - #self.cfg.set(self.cfg.const["newuse_opt"], str(self.newuseCb.get_active())) + self.cfg.set(self.cfg.const["newuse_opt"], str(self.newuseCb.get_active())) def cb_ok_clicked(self, button): """Saves, writes to config-file and closes the window.""" diff --git a/geneticone/gui/gtk/wrapper.py b/geneticone/gui/gtk/wrapper.py index 4407816..6f3cdd8 100644 --- a/geneticone/gui/gtk/wrapper.py +++ b/geneticone/gui/gtk/wrapper.py @@ -36,7 +36,7 @@ class GtkTree (Tree): return self.tree.iter_children(it) def iter_has_children (self, it): - return self.tree.iter_has_children(it) + return self.tree.iter_has_child(it) def next_iter (self, it): return self.tree.iter_next(it) |