[evolution-patches] Fix the bug #322742



Hi,
  I have attached the fix for the #322742 bug. The reproduction step
follows:
1. Start evolution and screen reader
2. Focus on the mail list
3. Select a mail item
4. Move between subject and date by left and right arrows

Actual results:
Screen Reader can't read the content of the subject or date.

Expected results:
The item selected should be read.
  There is something wrong in e-tree.c. I have modified the condition
expression for GDK_RIGHT in the item_key_press function.
  Enjoy it
? .e-table-item.c.swp
Index: e-tree.c
===================================================================
RCS file: /cvs/gnome/evolution/widgets/table/e-tree.c,v
retrieving revision 1.115
diff -u -r1.115 e-tree.c
--- e-tree.c	15 Aug 2005 03:18:01 -0000	1.115
+++ e-tree.c	29 Nov 2005 08:42:23 -0000
@@ -886,7 +886,7 @@
 	case GDK_Right:
 	case GDK_KP_Right:
 		/* Only allow if the Shift modifier is used -- eg. Ctrl-Equal shouldn't be handled.  */
-		if (key->state & ~(GDK_SHIFT_MASK | GDK_LOCK_MASK))
+		if (key->state & ~(GDK_SHIFT_MASK | GDK_LOCK_MASK) || key->state == 0)
 			break;
 		if (row != -1) {
 			path = e_tree_table_adapter_node_at_row(et->priv->etta, row);
@@ -899,7 +899,7 @@
 	case GDK_Left:
 	case GDK_KP_Left:
 		/* Only allow if the Shift modifier is used -- eg. Ctrl-Minus shouldn't be handled.  */
-		if (key->state & ~(GDK_SHIFT_MASK | GDK_LOCK_MASK))
+		if (key->state & ~(GDK_SHIFT_MASK | GDK_LOCK_MASK) || key->state == 0)
 			break;
 		if (row != -1) {
 			path = e_tree_table_adapter_node_at_row(et->priv->etta, row);


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