Exit cleanly on keyboard interrupt

This commit is contained in:
Dan Williams 2006-04-24 10:43:45 -04:00
parent a53145f10a
commit 2c4b9c996d

View File

@ -235,7 +235,10 @@ class ChatActivity(activity.Activity):
return buddy.chat() return buddy.chat()
def run(self): def run(self):
gtk.main() try:
gtk.main()
except KeyboardInterrupt:
pass
def main(): def main():
app = ChatActivity() app = ChatActivity()