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:
committed by
Chris Lahey
parent
53fc209818
commit
d8619d03cd
@ -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)),
|
||||
|
||||
@ -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];
|
||||
|
||||
Reference in New Issue
Block a user