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()
|
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()
|
||||||
|
Loading…
Reference in New Issue
Block a user