Exit cleanly on keyboard interrupt
This commit is contained in:
parent
a53145f10a
commit
2c4b9c996d
@ -235,7 +235,10 @@ class ChatActivity(activity.Activity):
|
||||
return buddy.chat()
|
||||
|
||||
def run(self):
|
||||
try:
|
||||
gtk.main()
|
||||
except KeyboardInterrupt:
|
||||
pass
|
||||
|
||||
def main():
|
||||
app = ChatActivity()
|
||||
|
Loading…
Reference in New Issue
Block a user