aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/table/ChangeLog7
-rw-r--r--widgets/table/e-table-item.c8
2 files changed, 13 insertions, 2 deletions
diff --git a/widgets/table/ChangeLog b/widgets/table/ChangeLog
index 8e5da1c3fd..823e8928c8 100644
--- a/widgets/table/ChangeLog
+++ b/widgets/table/ChangeLog
@@ -1,3 +1,10 @@
+2005-08-24 Li Yuan <li.yuan@sun.com>
+
+ Fixes #314352.
+ * e-table-item.c: (eti_event):
+ if accessibility is enabled, we enable horizontal cusor
+ movement for line selection.
+
2005-08-23 Not Zed <NotZed@Ximian.com>
* e-table-config.c (setup_fields): fix some missing casts.
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c
index 881736e8bc..9f6ba38709 100644
--- a/widgets/table/e-table-item.c
+++ b/widgets/table/e-table-item.c
@@ -2646,7 +2646,9 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e)
g_signal_emit (eti, eti_signals [KEY_PRESS], 0,
model_to_view_row(eti, cursor_row), cursor_col, e, &return_val);
- if ((!return_val) && eti->cursor_mode != E_CURSOR_LINE && cursor_col != view_to_model_col(eti, 0))
+ if ((!return_val) &&
+ (atk_get_root() || eti->cursor_mode != E_CURSOR_LINE) &&
+ cursor_col != view_to_model_col(eti, 0))
eti_cursor_move_left (eti);
return_val = 1;
break;
@@ -2660,7 +2662,9 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e)
g_signal_emit (eti, eti_signals [KEY_PRESS], 0,
model_to_view_row(eti, cursor_row), cursor_col, e, &return_val);
- if ((!return_val) && eti->cursor_mode != E_CURSOR_LINE && cursor_col != view_to_model_col(eti, eti->cols - 1))
+ if ((!return_val) &&
+ (atk_get_root() || eti->cursor_mode != E_CURSOR_LINE) &&
+ cursor_col != view_to_model_col(eti, eti->cols - 1))
eti_cursor_move_right (eti);
return_val = 1;
break;