[evolution-patches] Fix for bug #244918 [gtkhtml]



Hi

Attached Fix for Bug 244918 – Enter key does not not work if SHIFT is
pressed.

Please Review.

Thanks,
Rohini
Index: gtkhtml.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/gtkhtml.c,v
retrieving revision 1.611
diff -u -p -r1.611 gtkhtml.c
--- gtkhtml.c	11 Sep 2005 04:24:32 -0000	1.611
+++ gtkhtml.c	17 Jan 2006 05:09:39 -0000
@@ -5213,7 +5213,9 @@ add_bindings (GtkHTMLClass *klass)
 	BCOM (GDK_CONTROL_MASK, c, COPY);
 
 	BCOM (0, Return, INSERT_PARAGRAPH);
+	BCOM (GDK_SHIFT_MASK, Return, INSERT_PARAGRAPH);
 	BCOM (0, KP_Enter, INSERT_PARAGRAPH);
+	BCOM (GDK_SHIFT_MASK, KP_Enter, INSERT_PARAGRAPH);
 	BCOM (0, BackSpace, DELETE_BACK_OR_INDENT_DEC);
 	BCOM (GDK_SHIFT_MASK, BackSpace, DELETE_BACK_OR_INDENT_DEC);
 	BCOM (0, Delete, DELETE);
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/ChangeLog,v
retrieving revision 1.2153
diff -u -p -r1.2153 ChangeLog
--- ChangeLog	16 Jan 2006 06:25:21 -0000	1.2153
+++ ChangeLog	17 Jan 2006 05:15:56 -0000
@@ -1,3 +1,10 @@
+2006-01-17  Rohini S  <srohini novell com>
+
+	* gtkhtml.c (add_bindings): Key bindings Shift + Enter, 
+	Shift + Return also set to Insert Paragraph
+
+	Fixes bug #244918
+
 2006-01-16  Srinivasa Ragavan  <sragavan novell com>
 
 	** Fixes bug #256142 (Committing Rohini's patch)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]