diff options
author | necoro <> | 2007-07-11 07:37:22 +0000 |
---|---|---|
committer | necoro <> | 2007-07-11 07:37:22 +0000 |
commit | b5e8e2eb2b8bc9936070028ecf91ff8d0b7c33ef (patch) | |
tree | 366a8a3656d01dc2e30f28943c898a2578211409 /portato/gui/gtk/windows.py | |
parent | 3637bd7900f3b480b5935279c598c39bee70a03e (diff) | |
download | portato-b5e8e2eb2b8bc9936070028ecf91ff8d0b7c33ef.tar.gz portato-b5e8e2eb2b8bc9936070028ecf91ff8d0b7c33ef.tar.bz2 portato-b5e8e2eb2b8bc9936070028ecf91ff8d0b7c33ef.zip |
added SIGSTOP/SIGCONT support; SIGTERM now works ;)
Diffstat (limited to '')
-rw-r--r-- | portato/gui/gtk/windows.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/portato/gui/gtk/windows.py b/portato/gui/gtk/windows.py index 8b433ca..6eacd34 100644 --- a/portato/gui/gtk/windows.py +++ b/portato/gui/gtk/windows.py @@ -1273,6 +1273,14 @@ class MainWindow (Window): self.cfg.set_local(package, "oneshot", set) self.queue.append(package, update = True, oneshot = set, forceUpdate = True) + def cb_stop_cont_toggled (self, cb): + if not cb.get_active(): + self.queue.continue_emerge() + else: + self.queue.stop_emerge() + + return False + def cb_kill_clicked (self, action): self.queue.kill_emerge() |