From 2b57bcfd614daaa671509602cce1c28a58d7491f Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Wed, 26 Apr 2006 17:01:39 -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 aa632844..88303444 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