aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-text-event-processor-emacs-like.c
diff options
context:
space:
mode:
authorLi Yuan <li.yuan@sun.com>2006-04-26 18:22:21 +0800
committerLi Yuan <liyuan@src.gnome.org>2006-04-26 18:22:21 +0800
commitf187345034c97223eaf23903972e7a9f1b86b5f0 (patch)
treecc8283ea696a29578c9f81d02e9fbad6d319a236 /e-util/e-text-event-processor-emacs-like.c
parent17e044f8258f1a1ed06acd2352a5890f962c3cc3 (diff)
downloadgsoc2013-evolution-f187345034c97223eaf23903972e7a9f1b86b5f0.tar
gsoc2013-evolution-f187345034c97223eaf23903972e7a9f1b86b5f0.tar.gz
gsoc2013-evolution-f187345034c97223eaf23903972e7a9f1b86b5f0.tar.bz2
gsoc2013-evolution-f187345034c97223eaf23903972e7a9f1b86b5f0.tar.lz
gsoc2013-evolution-f187345034c97223eaf23903972e7a9f1b86b5f0.tar.xz
gsoc2013-evolution-f187345034c97223eaf23903972e7a9f1b86b5f0.tar.zst
gsoc2013-evolution-f187345034c97223eaf23903972e7a9f1b86b5f0.zip
Handle SUN Type 6 keyboard's copy, paste and cut key. Fix #271661.
2006-04-26 Li Yuan <li.yuan@sun.com> * e-text-event-processor-emacs-like.c: (e_text_event_processor_emacs_like_event): Handle SUN Type 6 keyboard's copy, paste and cut key. Fix #271661. svn path=/trunk/; revision=31903
Diffstat (limited to 'e-util/e-text-event-processor-emacs-like.c')
-rw-r--r--e-util/e-text-event-processor-emacs-like.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/e-util/e-text-event-processor-emacs-like.c b/e-util/e-text-event-processor-emacs-like.c
index 41bfcf4545..b04ae724f5 100644
--- a/e-util/e-text-event-processor-emacs-like.c
+++ b/e-util/e-text-event-processor-emacs-like.c
@@ -270,6 +270,22 @@ e_text_event_processor_emacs_like_event (ETextEventProcessor *tep, ETextEventPro
/* gtk_toggle_insert(text) -- IMPLEMENT -- FIXME */
}
break;
+ case GDK_F16:
+ command.action = E_TEP_COPY;
+ command.position = E_TEP_SELECTION;
+ break;
+ case GDK_F18:
+ command.action = E_TEP_PASTE;
+ command.position = E_TEP_SELECTION;
+ break;
+ case GDK_F20:
+ command.action = E_TEP_COPY;
+ command.position = E_TEP_SELECTION;
+ g_signal_emit_by_name (tep, "command", &command);
+
+ command.action = E_TEP_DELETE;
+ command.position = E_TEP_SELECTION;
+ break;
case GDK_Delete:
case GDK_KP_Delete:
if (key.state & GDK_CONTROL_MASK){