aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-04-26 00:25:25 +0800
committerChris Lahey <clahey@src.gnome.org>2001-04-26 00:25:25 +0800
commitf0f1bd1f90e073029ccbc51bc10cc59c37c9caba (patch)
tree7cfbb3aae8d55ff0e3725ed816f8ceab34ae959c /widgets/table
parentc6f76217ea749ec14609f9ce0718f57ae8749aec (diff)
downloadgsoc2013-evolution-f0f1bd1f90e073029ccbc51bc10cc59c37c9caba.tar
gsoc2013-evolution-f0f1bd1f90e073029ccbc51bc10cc59c37c9caba.tar.gz
gsoc2013-evolution-f0f1bd1f90e073029ccbc51bc10cc59c37c9caba.tar.bz2
gsoc2013-evolution-f0f1bd1f90e073029ccbc51bc10cc59c37c9caba.tar.lz
gsoc2013-evolution-f0f1bd1f90e073029ccbc51bc10cc59c37c9caba.tar.xz
gsoc2013-evolution-f0f1bd1f90e073029ccbc51bc10cc59c37c9caba.tar.zst
gsoc2013-evolution-f0f1bd1f90e073029ccbc51bc10cc59c37c9caba.zip
Add the header height to the returned y location here so that things will
2001-04-25 Christopher James Lahey <clahey@ximian.com> * 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
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-table.c4
1 files changed, 3 insertions, 1 deletions
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