aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-cell.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@helixcode.com>2000-12-07 07:25:06 +0800
committerChris Toshok <toshok@src.gnome.org>2000-12-07 07:25:06 +0800
commit517cb96a31bc20a9b62609a4bdfa35d10a93a020 (patch)
tree5ae929045248265fa2263c464885097a2bbc4624 /widgets/table/e-cell.c
parent6dc395e2641eb93323879e9dac7980d27a8ba878 (diff)
downloadgsoc2013-evolution-517cb96a31bc20a9b62609a4bdfa35d10a93a020.tar
gsoc2013-evolution-517cb96a31bc20a9b62609a4bdfa35d10a93a020.tar.gz
gsoc2013-evolution-517cb96a31bc20a9b62609a4bdfa35d10a93a020.tar.bz2
gsoc2013-evolution-517cb96a31bc20a9b62609a4bdfa35d10a93a020.tar.lz
gsoc2013-evolution-517cb96a31bc20a9b62609a4bdfa35d10a93a020.tar.xz
gsoc2013-evolution-517cb96a31bc20a9b62609a4bdfa35d10a93a020.tar.zst
gsoc2013-evolution-517cb96a31bc20a9b62609a4bdfa35d10a93a020.zip
pass along the column's width to e_cell_show_tooltip.
2000-12-06 Chris Toshok <toshok@helixcode.com> * e-table-item.c (_do_tooltip): pass along the column's width to e_cell_show_tooltip. * e-cell-text.c (ect_show_tooltip): add col_width argument, and set cell.width = col_width - 8 (to mimic what happens in build_current_cell, but with a possibly altered width). * e-cell.c (e_cell_show_tooltip): add col_width argument, and pass along to virtual function. (ec_show_tooltip): add col_width argument. * e-cell.h: change prototype of e_cell_show_tooltip to include a width parameter. * e-cell-tree.c (ect_show_tooltip): send the width - the subcell's offset to e_cell_show_tooltip. svn path=/trunk/; revision=6831
Diffstat (limited to 'widgets/table/e-cell.c')
-rw-r--r--widgets/table/e-cell.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/table/e-cell.c b/widgets/table/e-cell.c
index 50e62656d0..b4f01d6dde 100644
--- a/widgets/table/e-cell.c
+++ b/widgets/table/e-cell.c
@@ -90,7 +90,7 @@ ec_leave_edit (ECellView *ecell_view, int model_col, int view_col, int row, void
}
static void
-ec_show_tooltip (ECellView *ecell_view, int model_col, int view_col, int row, ETableTooltip *tooltip)
+ec_show_tooltip (ECellView *ecell_view, int model_col, int view_col, int row, int col_width, ETableTooltip *tooltip)
{
/* Do nothing */
}
@@ -332,8 +332,8 @@ e_cell_max_width (ECellView *ecell_view, int model_col, int view_col)
void
e_cell_show_tooltip (ECellView *ecell_view, int model_col, int view_col,
- int row, ETableTooltip *tooltip)
+ int row, int col_width, ETableTooltip *tooltip)
{
return E_CELL_CLASS (GTK_OBJECT (ecell_view->ecell)->klass)->show_tooltip
- (ecell_view, model_col, view_col, row, tooltip);
+ (ecell_view, model_col, view_col, row, col_width, tooltip);
}