diff options
author | Christopher James Lahey <clahey@ximian.com> | 2002-06-04 13:36:58 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2002-06-04 13:36:58 +0800 |
commit | 4f5d8637a1c46950f36f61005efdd9b81fbebfea (patch) | |
tree | 66c20863c8c8b79c332612972aac86690dd3bb9f /widgets | |
parent | 71bc52621fb9d845388ec47c98f26a6997e92c80 (diff) | |
download | gsoc2013-evolution-4f5d8637a1c46950f36f61005efdd9b81fbebfea.tar gsoc2013-evolution-4f5d8637a1c46950f36f61005efdd9b81fbebfea.tar.gz gsoc2013-evolution-4f5d8637a1c46950f36f61005efdd9b81fbebfea.tar.bz2 gsoc2013-evolution-4f5d8637a1c46950f36f61005efdd9b81fbebfea.tar.lz gsoc2013-evolution-4f5d8637a1c46950f36f61005efdd9b81fbebfea.tar.xz gsoc2013-evolution-4f5d8637a1c46950f36f61005efdd9b81fbebfea.tar.zst gsoc2013-evolution-4f5d8637a1c46950f36f61005efdd9b81fbebfea.zip |
Reenable tooltips if the GAL_DO_TOOLTIPS environment variable is set.
2002-06-04 Christopher James Lahey <clahey@ximian.com>
* e-table-item.c (eti_event): Reenable tooltips if the
GAL_DO_TOOLTIPS environment variable is set.
svn path=/trunk/; revision=17097
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/table/e-cell-text.c | 2 | ||||
-rw-r--r-- | widgets/table/e-table-item.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c index ee1b333244..edbea905e7 100644 --- a/widgets/table/e-cell-text.c +++ b/widgets/table/e-cell-text.c @@ -1577,7 +1577,7 @@ e_cell_text_class_init (GtkObjectClass *object_class) if (!clipboard_atom) clipboard_atom = gdk_atom_intern ("CLIPBOARD", FALSE); - ellipsis_env = getenv ("GAL_ELLIPSIS"); + ellipsis_env = g_getenv ("GAL_ELLIPSIS"); if (ellipsis_env) { if (*ellipsis_env) { ellipsis_default = g_strdup (ellipsis_env); diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c index cffe146622..512586f4d4 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -50,6 +50,7 @@ #define FOCUSED_BORDER 2 #define d(x) +#define DO_TOOLTIPS #if d(!)0 #define e_table_item_leave_edit_(x) (e_table_item_leave_edit((x)), g_print ("%s: e_table_item_leave_edit\n", __FUNCTION__)) @@ -2504,7 +2505,7 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e) e_canvas_hide_tooltip (E_CANVAS(GNOME_CANVAS_ITEM(eti)->canvas)); #ifdef DO_TOOLTIPS - if (!g_getenv ("GAL_DONT_DO_TOOLTIPS")) { + if (g_getenv ("GAL_DO_TOOLTIPS")) { if (eti->tooltip->timer > 0) gtk_timeout_remove (eti->tooltip->timer); eti->tooltip->col = col; |