From 98093d4c1467ce6184c0c6c27b47a261ad99c318 Mon Sep 17 00:00:00 2001 From: Suresh Chandrasekharan Date: Mon, 1 Dec 2003 17:50:20 +0000 Subject: Bug Id #51527 "gal widgets produces backspace for Ctrl-space for japanese 2003-11-30 Suresh Chandrasekharan Bug Id #51527 "gal widgets produces backspace for Ctrl-space for japanese input" * gal/util/e-text-event-processor-emacs-like.c: (e_text_event_processor_emacs_like_event) If GDK_CONTROL_MASK set, disable the command action. svn path=/trunk/; revision=23529 --- e-util/e-text-event-processor-emacs-like.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'e-util') diff --git a/e-util/e-text-event-processor-emacs-like.c b/e-util/e-text-event-processor-emacs-like.c index c0b4875901..478dc2d68b 100644 --- a/e-util/e-text-event-processor-emacs-like.c +++ b/e-util/e-text-event-processor-emacs-like.c @@ -429,6 +429,10 @@ e_text_event_processor_emacs_like_event (ETextEventProcessor *tep, ETextEventPro command.string = control_keys[(int) (key.keyval - 'a')].string; } + if (key.keyval == ' ') { + command.action = E_TEP_NOP; + } + if (key.keyval == 'x') { command.action = E_TEP_COPY; command.position = E_TEP_SELECTION; -- cgit v1.2.3