Made the column on the right click and click signals be the model column

2000-10-25  Christopher James Lahey  <clahey@helixcode.com>

	* 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
This commit is contained in:
Christopher James Lahey
2000-10-25 19:03:07 +00:00
committed by Chris Lahey
parent 56704ecef4
commit e05cf1d1a6

View File

@ -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: