diff options
author | Dan Williams <dcbw@redhat.com> | 2006-04-26 21:01:39 (GMT) |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2006-04-26 21:01:39 (GMT) |
commit | 2b57bcfd614daaa671509602cce1c28a58d7491f (patch) | |
tree | c57b058231e1bfd2e108e2c2ba9a8534aa3bfe35 | |
parent | 06680398a9949e0e9e4c446843512285c8ec6d7b (diff) |
Don't traceback on Ctrl+C
-rwxr-xr-x | shell/src/shell.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/src/shell.py b/shell/src/shell.py index aa63284..8830344 100755 --- a/shell/src/shell.py +++ b/shell/src/shell.py @@ -295,4 +295,7 @@ def main(): activityContainer = ActivityContainer(service, session_bus) - gtk.main() + try: + gtk.main() + except KeyboardInterrupt: + pass |