[evolution-patches] patch to fix #71661
- From: Li Yuan <Li Yuan Sun COM>
- To: JP Rosevear <jpr novell com>
- Cc: patches <evolution-patches lists ximian com>
- Subject: [evolution-patches] patch to fix #71661
- Date: Mon, 24 Jan 2005 17:31:39 +0800
Hi, JP
Here is a patch to fix bugtraq #71661
http://bugzilla.ximian.com/show_bug.cgi?id=71661
Please help me to review it.
Regards,
Li
? gal.pc
? docs/gal-api.html
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gal/ChangeLog,v
retrieving revision 1.904
diff -u -r1.904 ChangeLog
--- ChangeLog 22 Jan 2005 03:44:36 -0000 1.904
+++ ChangeLog 24 Jan 2005 09:28:49 -0000
@@ -1,3 +1,11 @@
+2005-01-24 Li Yuan <li yuan sun com>
+
+ * gal/util/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.
+
+ Fixes #71661
+
2005-01-21 Rodney Dawes <dobey novell com>
* gal/e-text/e-text.c (_do_tooltip): Don't pass in the "fill_color"
Index: gal/util/e-text-event-processor-emacs-like.c
===================================================================
RCS file: /cvs/gnome/gal/gal/util/e-text-event-processor-emacs-like.c,v
retrieving revision 1.20
diff -u -r1.20 e-text-event-processor-emacs-like.c
--- gal/util/e-text-event-processor-emacs-like.c 1 Dec 2003 17:50:20 -0000 1.20
+++ gal/util/e-text-event-processor-emacs-like.c 24 Jan 2005 09:28:49 -0000
@@ -260,6 +260,18 @@
/* 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_DELETE;
+ command.position = E_TEP_SELECTION;
+ break;
case GDK_Delete:
case GDK_KP_Delete:
if (key.state & GDK_CONTROL_MASK){
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]