diff options
author | Li Yuan <li.yuan@sun.com> | 2005-08-25 14:54:58 +0800 |
---|---|---|
committer | Li Yuan <liyuan@src.gnome.org> | 2005-08-25 14:54:58 +0800 |
commit | 9162088ec2323c4db3939aec07621b8328e117eb (patch) | |
tree | 116218e96ea87efa57ef776bfb2c2a4910ed6186 | |
parent | ad7633d5e1fb0267d45c81e1dd8d9113447ce512 (diff) | |
download | gsoc2013-evolution-9162088ec2323c4db3939aec07621b8328e117eb.tar gsoc2013-evolution-9162088ec2323c4db3939aec07621b8328e117eb.tar.gz gsoc2013-evolution-9162088ec2323c4db3939aec07621b8328e117eb.tar.bz2 gsoc2013-evolution-9162088ec2323c4db3939aec07621b8328e117eb.tar.lz gsoc2013-evolution-9162088ec2323c4db3939aec07621b8328e117eb.tar.xz gsoc2013-evolution-9162088ec2323c4db3939aec07621b8328e117eb.tar.zst gsoc2013-evolution-9162088ec2323c4db3939aec07621b8328e117eb.zip |
Fixes #314352. if accessibility is enabled, we enable horizontal cusor
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.
svn path=/trunk/; revision=30244
-rw-r--r-- | widgets/table/ChangeLog | 7 | ||||
-rw-r--r-- | widgets/table/e-table-item.c | 8 |
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; |