We now allow closing groupchats with the Esc key
This commit is contained in:
parent
5f689d0ad3
commit
1fc8805b47
|
@ -457,7 +457,6 @@ 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_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
|
||||||
|
|
Loading…
Reference in New Issue