aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-04-20 07:37:00 +0800
committerChris Lahey <clahey@src.gnome.org>2001-04-20 07:37:00 +0800
commit40e3cd8538444dd86bbb0ebbfd835d9d2bb7d388 (patch)
treedac12e1c700cd339ac92f7028eb70c4afff56c59 /widgets/table
parent4cfa7d8551c86c315cd1b3ce20e552e45eb492d7 (diff)
downloadgsoc2013-evolution-40e3cd8538444dd86bbb0ebbfd835d9d2bb7d388.tar.gz
gsoc2013-evolution-40e3cd8538444dd86bbb0ebbfd835d9d2bb7d388.tar.zst
gsoc2013-evolution-40e3cd8538444dd86bbb0ebbfd835d9d2bb7d388.zip
Turned off information expanders (tooltips) in ETable by default. Turn
2001-04-19 Christopher James Lahey <clahey@ximian.com> * e-table-item.c: Turned off information expanders (tooltips) in ETable by default. Turn them back on with the environment variable GAL_DO_TOOLTIPS. svn path=/trunk/; revision=9462
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-table-item.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c
index 637eaab67b..ed4c6985db 100644
--- a/widgets/table/e-table-item.c
+++ b/widgets/table/e-table-item.c
@@ -1862,13 +1862,15 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e)
e_canvas_hide_tooltip (E_CANVAS(GNOME_CANVAS_ITEM(eti)->canvas));
#ifdef DO_TOOLTIPS
- if (eti->tooltip->timer > 0)
- gtk_timeout_remove (eti->tooltip->timer);
- eti->tooltip->col = col;
- eti->tooltip->row = row;
- eti->tooltip->cx = e->motion.x;
- eti->tooltip->cy = e->motion.y;
- eti->tooltip->timer = gtk_timeout_add (100, (GSourceFunc)_do_tooltip, eti);
+ if (g_getenv ("GAL_DO_TOOLTIPS")) {
+ if (eti->tooltip->timer > 0)
+ gtk_timeout_remove (eti->tooltip->timer);
+ eti->tooltip->col = col;
+ eti->tooltip->row = row;
+ eti->tooltip->cx = e->motion.x;
+ eti->tooltip->cy = e->motion.y;
+ eti->tooltip->timer = gtk_timeout_add (100, (GSourceFunc)_do_tooltip, eti);
+ }
#endif
if (cursor_row == view_to_model_row(eti, row) && cursor_col == view_to_model_col(eti, col)){