diff options
author | Dan Williams <dcbw@redhat.com> | 2006-04-27 16:20:42 (GMT) |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2006-04-27 16:20:42 (GMT) |
commit | c4781fe8e31b33e3721b6bd864faf1d4feffaef1 (patch) | |
tree | ef225f616894c5de0418ee8311cdc49db9b175b1 | |
parent | 9bd898a5b2b1a1ea00e392e93e1c040640d77277 (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 3c0584e..5ce526e 100755 --- a/shell/src/shell.py +++ b/shell/src/shell.py @@ -296,4 +296,7 @@ def main(): activityContainer = ActivityContainer(service, session_bus) - gtk.main() + try: + gtk.main() + except KeyboardInterrupt: + pass |