From e05cf1d1a67ad7dcf833f7c7e8c7ebc6c8cd5ba3 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 25 Oct 2000 19:03:07 +0000 Subject: Made the column on the right click and click signals be the model column 2000-10-25 Christopher James Lahey * e-table-item.c: Made the column on the right click and click signals be the model column instead of the view column. svn path=/trunk/; revision=6172 --- widgets/table/e-table-item.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c index 545e1185ad..0c6067ee86 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -1515,7 +1515,7 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e) return_val = FALSE; gtk_signal_emit (GTK_OBJECT (eti), eti_signals [CLICK], - row, col, e, &return_val); + row, view_to_model_col(eti, col), e, &return_val); if (return_val) return TRUE; @@ -1553,7 +1553,7 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e) e_table_selection_model_maybe_do_something(eti->selection, view_to_model_row(eti, row), view_to_model_col(eti, col), 0); gtk_signal_emit (GTK_OBJECT (eti), eti_signals [RIGHT_CLICK], - row, col, e, &return_val); + row, view_to_model_col(eti, col), e, &return_val); break; case 4: case 5: -- cgit