[evolution-patches] [calendar] fix for bug#319225



attached patch fixes bug#319225(Evolution crashed on pressing down arrow
twice).
please review.

--DL

Index: gui/dialogs/comp-editor.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/dialogs/comp-editor.c,v
retrieving revision 1.153
diff -u -p -r1.153 comp-editor.c
--- gui/dialogs/comp-editor.c	18 Oct 2005 09:58:28 -0000	1.153
+++ gui/dialogs/comp-editor.c	19 Oct 2005 12:39:22 -0000
@@ -1366,6 +1366,9 @@ comp_editor_key_press_event (GtkWidget *
 	}
 #endif
 
+	if (e->keyval == GDK_Down)
+		return TRUE;
+
 	if (GTK_WIDGET_CLASS (comp_editor_parent_class)->key_press_event)
 		return (* GTK_WIDGET_CLASS (comp_editor_parent_class)->key_press_event) (d, e);
 
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2830
diff -u -p -r1.2830 ChangeLog
--- ChangeLog	18 Oct 2005 11:34:58 -0000	1.2830
+++ ChangeLog	19 Oct 2005 12:39:25 -0000
@@ -1,3 +1,9 @@
+2005-10-19  Dinesh Layek  <LDinesh novell com>
+
+	Fixes #319225
+	* gui/dialogs/comp-editor.c: (comp_editor_key_press_event): 
+	ignore down_arrow_press event, just return TRUE.
+
 2005-10-18  Chenthill Palanisamy  <pchenthill novell com>
 
 	Fixes #308802


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