We now allow closing groupchats with the Esc key

This commit is contained in:
Travis Shirk 2006-01-20 02:18:35 +00:00
parent 5f689d0ad3
commit 1fc8805b47
1 changed files with 1 additions and 2 deletions

View File

@ -457,7 +457,6 @@ class MessageWindow:
ctrl.set_compact_view(not ctrl.compact_view_current)
# Close tab bindings
elif event.keyval == gtk.keysyms.Escape: # ESCAPE
if ctrl.type_id != message_control.TYPE_GC:
self.remove_tab(contact)
else:
# If the active control has a message_textview pass the event to it