From 9f0348c00264a697204550a463abfdabfb6df5a6 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Mon, 24 Apr 2006 14:40:38 -0400 Subject: [PATCH] Don't traceback on Ctrl+C --- browser/browser.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/browser/browser.py b/browser/browser.py index 44ae6eaa..41a7f800 100755 --- a/browser/browser.py +++ b/browser/browser.py @@ -213,4 +213,7 @@ class WebActivity(activity.Activity): web_activity = WebActivity() web_activity.activity_connect_to_shell() -gtk.main() +try: + gtk.main() +except KeyboardInterrupt: + pass