Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

gtkui.TextBox: Check on_key_press_event for Input Method. Close #1236.

  • Loading branch information...
commit 4c842c53e69423c49e3f23ed850ad46fbc727c78 1 parent 2f3976e
@moneycat moneycat authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  emesene/gui/gtkui/
3  emesene/gui/gtkui/
@@ -196,7 +196,8 @@ def on_key_press_event(self, widget, event):
if event.keyval in [gtk.keysyms.Return, gtk.keysyms.KP_Enter] and \
not event.state & gtk.gdk.SHIFT_MASK:
- self.emit('message-send')
+ if not self.im_context_filter_keypress(event):
+ self.emit('message-send')
return True
return False
Please sign in to comment.
Something went wrong with that request. Please try again.