aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorAndrew Wu <yang.wu@sun.com>2003-12-08 13:52:32 +0800
committerBolian Yin <byin@src.gnome.org>2003-12-08 13:52:32 +0800
commitceb9cedfc48b4537e5e84e9bc80f26c06ba943c1 (patch)
tree3589a75190a2f95b1b50e34b859111c88918190f /widgets/table
parent6408402a80d01fc9d59c3b1bca8c2db35441f0fd (diff)
downloadgsoc2013-evolution-ceb9cedfc48b4537e5e84e9bc80f26c06ba943c1.tar.gz
gsoc2013-evolution-ceb9cedfc48b4537e5e84e9bc80f26c06ba943c1.tar.zst
gsoc2013-evolution-ceb9cedfc48b4537e5e84e9bc80f26c06ba943c1.zip
Fixed #50844
2003-12-08 Andrew Wu <yang.wu@sun.com> Fixed #50844 * gal/a11y/e-table/gal-a11y-e-cell-popup.c: * gal/a11y/e-table/gal-a11y-e-cell-popup.h: a11y impl. for e-cell-popup. svn path=/trunk/; revision=23670
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-cell-popup.c5
-rw-r--r--widgets/table/e-table-item.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/widgets/table/e-cell-popup.c b/widgets/table/e-cell-popup.c
index 3c5eccbee3..010f4263a7 100644
--- a/widgets/table/e-cell-popup.c
+++ b/widgets/table/e-cell-popup.c
@@ -33,7 +33,7 @@
#include "gal/util/e-util.h"
#include "e-table-item.h"
#include "e-cell-popup.h"
-
+#include "gal/a11y/e-table/gal-a11y-e-cell-popup.h"
#define E_CELL_POPUP_ARROW_WIDTH 16
#define E_CELL_POPUP_ARROW_XPAD 3
@@ -140,6 +140,9 @@ e_cell_popup_class_init (GtkObjectClass *object_class)
ecc->get_bg_color = ecp_get_bg_color;
parent_class = g_type_class_ref (E_CELL_TYPE);
+ gal_a11y_e_cell_registry_add_cell_type (NULL,
+ E_CELL_POPUP_TYPE,
+ gal_a11y_e_cell_popup_new);
}
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c
index 70d1213fa9..dd5a040c1d 100644
--- a/widgets/table/e-table-item.c
+++ b/widgets/table/e-table-item.c
@@ -2656,7 +2656,7 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e)
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))
+ if (eti_e_cell_event (eti, eti->cell_views [view_col], e, ((GdkEventKey *)e)->time, cursor_col, view_col, model_to_view_row(eti, cursor_row), E_CELL_CURSOR))
return TRUE;
} else
return_val = e_selection_model_key_press(E_SELECTION_MODEL (eti->selection), (GdkEventKey *) e);