close only a tab when escape is pressed in tabbed chat window

This commit is contained in:
Yann Leboulanger 2005-02-02 11:30:28 +00:00
parent a31f210817
commit 18dc2d52be
1 changed files with 1 additions and 1 deletions

View File

@ -410,7 +410,7 @@ class tabbed_chat_Window:
def on_chat_key_press_event(self, widget, event):
if event.keyval == gtk.keysyms.Escape:
widget.get_toplevel().destroy()
self.on_close_clicked(widget)
def read_queue(self, q):
"""read queue and print messages containted in it"""