We now allow closing groupchats with the Esc key
This commit is contained in:
parent
5f689d0ad3
commit
1fc8805b47
|
@ -457,8 +457,7 @@ 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)
|
||||
self.remove_tab(contact)
|
||||
else:
|
||||
# If the active control has a message_textview pass the event to it
|
||||
active_ctrl = self.get_active_control()
|
||||
|
|
Loading…
Reference in New Issue