aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-07-23 12:59:39 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-07-23 12:59:39 +0800
commit7ab072d87ee042e30fc02ebc740dee250027ddad (patch)
tree1625afde1dc5f155a749fc1e9b8c26fd7848bbb2 /widgets
parent833bb47399de0d0509da1cf4fa0b993702c39e87 (diff)
downloadgsoc2013-evolution-7ab072d87ee042e30fc02ebc740dee250027ddad.tar.gz
gsoc2013-evolution-7ab072d87ee042e30fc02ebc740dee250027ddad.tar.zst
gsoc2013-evolution-7ab072d87ee042e30fc02ebc740dee250027ddad.zip
Handle GDK_KP_* cursor keys as well.
* e-table-item.c (eti_event): Handle GDK_KP_* cursor keys as well. svn path=/trunk/; revision=11302
Diffstat (limited to 'widgets')
-rw-r--r--widgets/table/e-table-item.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c
index 20c5d5bb36..4afe4f4b8b 100644
--- a/widgets/table/e-table-item.c
+++ b/widgets/table/e-table-item.c
@@ -1954,6 +1954,7 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e)
switch (e->key.keyval){
case GDK_Left:
+ case GDK_KP_Left:
if (eti_editing (eti)) {
handled = FALSE;
break;
@@ -1964,8 +1965,9 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e)
if ((!return_val) && eti->cursor_mode != E_CURSOR_LINE && cursor_col != view_to_model_col(eti, 0))
eti_cursor_move_left (eti);
break;
-
+
case GDK_Right:
+ case GDK_KP_Right:
if (eti_editing (eti)) {
handled = FALSE;
break;
@@ -1978,7 +1980,9 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e)
break;
case GDK_Up:
+ case GDK_KP_Up:
case GDK_Down:
+ case GDK_KP_Down:
return_val = e_selection_model_key_press(E_SELECTION_MODEL (eti->selection), (GdkEventKey *) e);
break;
case GDK_Home: