Changed the background color of the tooltips to light gray.

2000-12-13  Christopher James Lahey  <clahey@helixcode.com>

	* e-cell-text.c (ect_show_tooltip): Changed the background color
	of the tooltips to light gray.

	* e-table-item.c (eti_event): Changed the tooltip timeout to 100
	milliseconds.

svn path=/trunk/; revision=6988
This commit is contained in:
Christopher James Lahey
2000-12-14 01:54:37 +00:00
committed by Chris Lahey
parent 53fc209818
commit d8619d03cd
2 changed files with 2 additions and 2 deletions

View File

@ -1425,7 +1425,7 @@ ect_show_tooltip (ECellView *ecell_view,
"y1", (double) 0.0,
"x2", (double) max_width + 4,
"y2", (double) text_height,
"fill_color", "yellow",
"fill_color", "light gray",
NULL);
tooltip_text = gnome_canvas_item_new (gnome_canvas_root (GNOME_CANVAS (canvas)),

View File

@ -1708,7 +1708,7 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e)
eti->tooltip->row = row;
eti->tooltip->cx = e->motion.x;
eti->tooltip->cy = e->motion.y;
eti->tooltip->timer = gtk_timeout_add (1000, (GSourceFunc)_do_tooltip, eti);
eti->tooltip->timer = gtk_timeout_add (100, (GSourceFunc)_do_tooltip, eti);
if (cursor_row == view_to_model_row(eti, row) && cursor_col == view_to_model_col(eti, col)){
ecell_view = eti->cell_views [col];