aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-item.c
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2000-09-18 01:18:04 +0800
committerIain Holmes <iain@src.gnome.org>2000-09-18 01:18:04 +0800
commit13679221973a960628aa73dfa289b591e0de27e1 (patch)
tree71eddbe6d5750554a238e76ef8420295fdb4d761 /widgets/table/e-table-item.c
parent0d2998b1a1f8af2b6938d4dd40873ef80095844d (diff)
downloadgsoc2013-evolution-13679221973a960628aa73dfa289b591e0de27e1.tar
gsoc2013-evolution-13679221973a960628aa73dfa289b591e0de27e1.tar.gz
gsoc2013-evolution-13679221973a960628aa73dfa289b591e0de27e1.tar.bz2
gsoc2013-evolution-13679221973a960628aa73dfa289b591e0de27e1.tar.lz
gsoc2013-evolution-13679221973a960628aa73dfa289b591e0de27e1.tar.xz
gsoc2013-evolution-13679221973a960628aa73dfa289b591e0de27e1.tar.zst
gsoc2013-evolution-13679221973a960628aa73dfa289b591e0de27e1.zip
Better calculations for tooltip positions
svn path=/trunk/; revision=5477
Diffstat (limited to 'widgets/table/e-table-item.c')
-rw-r--r--widgets/table/e-table-item.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c
index ecb5d8a59b..87d79ea9c5 100644
--- a/widgets/table/e-table-item.c
+++ b/widgets/table/e-table-item.c
@@ -1434,12 +1434,11 @@ _do_tooltip (ETableItem *eti)
eti->tooltip->x = x;
for (i = 0; i < eti->tooltip->row; i++)
- y += ETI_ROW_HEIGHT (eti, i);
+ y += (ETI_ROW_HEIGHT (eti, i) + 1);
eti->tooltip->y = y;
- eti->tooltip->eti = GNOME_CANVAS_ITEM(eti);
+ eti->tooltip->eti = GNOME_CANVAS_ITEM (eti);
eti->tooltip->row_height = ETI_ROW_HEIGHT (eti, i);
- g_print ("Tooltip at %d,%d\n", x, y);
e_cell_show_tooltip (ecell_view,
view_to_model_col (eti, eti->tooltip->col),
eti->tooltip->col,