From f0f1bd1f90e073029ccbc51bc10cc59c37c9caba Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 25 Apr 2001 16:25:25 +0000 Subject: Add the header height to the returned y location here so that things will 2001-04-25 Christopher James Lahey * e-table.c (e_table_get_cell_geometry): Add the header height to the returned y location here so that things will be lined up correctly. svn path=/trunk/; revision=9563 --- widgets/table/e-table.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c index 3998f468cd..ab0af124bc 100644 --- a/widgets/table/e-table.c +++ b/widgets/table/e-table.c @@ -1550,8 +1550,10 @@ e_table_get_cell_geometry (ETable *table, if (x_return) (*x_return) -= GTK_LAYOUT(table->table_canvas)->hadjustment->value; - if (y_return) + if (y_return) { (*y_return) -= GTK_LAYOUT(table->table_canvas)->vadjustment->value; + (*y_return) += GTK_WIDGET(table->header_canvas)->allocation.height; + } } struct _ETableDragSourceSite -- cgit