Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pippy_app.py
diff options
context:
space:
mode:
authorC. Scott Ananian <cscott@laptop.org>2007-12-14 20:12:21 (GMT)
committer C. Scott Ananian <cscott@laptop.org>2007-12-14 20:12:21 (GMT)
commit1f5202d7de0afa9364e80976e4557481556aa1c1 (patch)
treee37ab2a5e48f066f449c4e93c1de520ef5d49704 /pippy_app.py
parentf8f205f93f22b2d92a8ecc074f225deffc68dfc8 (diff)
Stop the running program when we switch views.
Diffstat (limited to 'pippy_app.py')
-rw-r--r--pippy_app.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pippy_app.py b/pippy_app.py
index e63de51..44be22e 100644
--- a/pippy_app.py
+++ b/pippy_app.py
@@ -211,6 +211,7 @@ class PippyActivity(Activity):
lines = _file.readlines()
self.text_buffer.set_text("".join(lines))
self.metadata['title'] = value['name']
+ self.stopbutton_cb(None)
self._reset_vte()
self.text_view.grab_focus()