aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Wu <yang.wu@sun.com>2003-11-14 18:07:26 +0800
committerBolian Yin <byin@src.gnome.org>2003-11-14 18:07:26 +0800
commit724be060d1e81a87440ecec92ae6180ea165438c (patch)
tree81c7e8e558e71beac7885e525ac1f20806235e09
parent6cf20bbebabbc2c930cff97c0cf28a1297a0ce3f (diff)
downloadgsoc2013-evolution-724be060d1e81a87440ecec92ae6180ea165438c.tar.gz
gsoc2013-evolution-724be060d1e81a87440ecec92ae6180ea165438c.tar.zst
gsoc2013-evolution-724be060d1e81a87440ecec92ae6180ea165438c.zip
Fix for 50681 send a event to the right cell to pop up something.
2003-11-12 Andrew Wu <yang.wu@sun.com> Fix for 50681 * gal/e-table/e-table-item.c (eti_event): send a event to the right cell to pop up something. svn path=/trunk/; revision=23349
-rw-r--r--widgets/table/e-table-item.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c
index 4a2bd6f33b..35daab025e 100644
--- a/widgets/table/e-table-item.c
+++ b/widgets/table/e-table-item.c
@@ -2653,6 +2653,12 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e)
case GDK_KP_Up:
case GDK_Down:
case GDK_KP_Down:
+ if ((e->key.state & GDK_MOD1_MASK)
+ && ((e->key.keyval == GDK_Down ) || (e->key.keyval == GDK_KP_Down))) {
+ gint view_col = model_to_view_col(eti, cursor_col);
+ if (eti_e_cell_event (eti, eti->cell_views [view_col], e, ((GdkEventKey *)e)->time, cursor_col, view_col, cursor_row, E_CELL_CURSOR))
+ return TRUE;
+ } else
return_val = e_selection_model_key_press(E_SELECTION_MODEL (eti->selection), (GdkEventKey *) e);
break;
case GDK_Home: