diff options
Diffstat (limited to 'widgets/table')
-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; |