PMs can be closed with Escape; #1422

This commit is contained in:
Travis Shirk 2006-01-19 01:40:07 +00:00
parent 74b7b3d578
commit 8e9a7c0bc3
1 changed files with 1 additions and 1 deletions

View File

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