diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-04-16 10:12:44 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-04-16 10:12:44 +0800 |
commit | bf3357b91ec240f3d325df8d9e9ffea98c796ea8 (patch) | |
tree | 60084f4a63df1dfa3ec6dcac88c3c7be91c3ff56 /widgets/table/e-cell-text.c | |
parent | 17bc3ae168964c0d60aa3ab38c2d2db50f01b4fa (diff) | |
download | gsoc2013-evolution-bf3357b91ec240f3d325df8d9e9ffea98c796ea8.tar.gz gsoc2013-evolution-bf3357b91ec240f3d325df8d9e9ffea98c796ea8.tar.zst gsoc2013-evolution-bf3357b91ec240f3d325df8d9e9ffea98c796ea8.zip |
Set the background color to the specified tooltip->background. Set the
2001-04-15 Christopher James Lahey <clahey@ximian.com>
* e-cell-text.c (ect_show_tooltip): Set the background color to
the specified tooltip->background. Set the foreground color to
the specified tooltip->foreground.
* e-table-item.c (eti_get_cell_background_color,
eti_get_cell_foreground_color): Added these functions.
(eti_draw, _do_tooltip): Use these new functions.
* e-table-tooltip.h: Added foreground and background colors to
this structure.
* e-tree.c, e-tree.h (e_tree_get_tooltip): Added this function.
svn path=/trunk/; revision=9338
Diffstat (limited to 'widgets/table/e-cell-text.c')
-rw-r--r-- | widgets/table/e-cell-text.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c index 1ad50921e3..5136c4e8fc 100644 --- a/widgets/table/e-cell-text.c +++ b/widgets/table/e-cell-text.c @@ -1218,7 +1218,7 @@ ect_show_tooltip (ECellView *ecell_view, "y1", (double) 0.0, "x2", (double) max_width + 4, "y2", (double) text_height, - "fill_color", "light gray", + "fill_color_gdk", tooltip->background, NULL); tooltip_text = gnome_canvas_item_new (gnome_canvas_root (GNOME_CANVAS (canvas)), @@ -1227,6 +1227,7 @@ ect_show_tooltip (ECellView *ecell_view, /* "font_gdk", text_view->font, */ "bold", (gboolean) ect->bold_column >= 0 && e_table_model_value_at(ecell_view->e_table_model, ect->bold_column, row), "strikeout", (gboolean) ect->strikeout_column >= 0 && e_table_model_value_at(ecell_view->e_table_model, ect->strikeout_column, row), + "fill_color_gdk", tooltip->foreground, "text", cell.text, "editable", FALSE, "clip_width", max_width, |