diff options
Diffstat (limited to '')
-rw-r--r-- | geneticone/gui/gtk/windows.py | 4 | ||||
-rw-r--r-- | geneticone/gui/gtk/wrapper.py | 2 | ||||
-rw-r--r-- | geneticone/gui/gui_helper.py | 10 |
3 files changed, 8 insertions, 8 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) diff --git a/geneticone/gui/gui_helper.py b/geneticone/gui/gui_helper.py index 8afc137..81e26ef 100644 --- a/geneticone/gui/gui_helper.py +++ b/geneticone/gui/gui_helper.py @@ -291,7 +291,7 @@ class EmergeQueue: """This updates the tree recursivly, or? Isn't it? Bjorn! @param it: iterator where to append - @type it: gtk.TreeIter + @type it: Iterator @param cpv: The package to append. @type cpv: string (cat/pkg-ver) @param unmask: True if we are allowed to look for masked packages @@ -434,7 +434,7 @@ class EmergeQueue: @param packages: packages to emerge @type packages: list @param it: Iterators which point to these entries whose children will be removed after completion. - @type it: list of gtk.TreeIter""" + @type it: Iterator[]""" # open tty (master, slave) = pty.openpty() @@ -524,7 +524,7 @@ class EmergeQueue: """Convenience function which removes all children of an iterator and than the iterator itself. @param it: The iter which to remove. - @type it: gtk.TreeIter + @type it: Iterator @param removeNewFlags: True if new flags should be removed; False otherwise. Default: True. @type removeNewFlags: boolean""" @@ -535,7 +535,7 @@ class EmergeQueue: """Removes all children of a given parent TreeIter recursivly. @param parentIt: The iter from which to remove all children. - @type parentIt: gtk.TreeIter + @type parentIt: Iterator @param removeNewFlags: True if new flags should be removed; False otherwise. Default: True. @type removeNewFlags: boolean""" @@ -552,7 +552,7 @@ class EmergeQueue: """Removes a specific item in the tree. This does not remove the top-entries. @param it: Iterator which points to the entry we are going to remove. - @type it: gtk.TreeIter + @type it: Iterator @param removeNewFlags: True if new flags should be removed; False otherwise. Default: True. @type removeNewFlags: boolean""" |