From c4781fe8e31b33e3721b6bd864faf1d4feffaef1 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 27 Apr 2006 12:20:42 -0400 Subject: [PATCH] Don't traceback on Ctrl+C --- shell/src/shell.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/shell/src/shell.py b/shell/src/shell.py index 3c0584e4..5ce526e3 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