From ccc7bafebeb202b0f7f7f19b23f76a2105bf2068 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Mon, 3 Jun 2002 21:54:37 +0000 Subject: Get the font from the style again when the style changes. (init): Checks 2002-06-03 Christopher James Lahey * e-cell-text.c (ect_style_set): Get the font from the style again when the style changes. (init): Checks for the environment variable GAL_ELLIPSIS and uses that instead of ... if it is set. * e-table-click-to-add.c (finish_editing): e_table_item_leave_edit before committing. (etcta_event): Added a missing break; here. * e-table-item.c (eti_style_set): On style set, free the height cache, request a reflow and a redraw, and call eti_idle_maybe_show_cursor. (e_table_item_compute_location): Don't call eti_get_height here, just use the cached value. * e-tree.c, e-tree.h (e_tree_get_table_adapter): Added this simple accessor function. svn path=/trunk/; revision=17088 --- widgets/table/e-table-click-to-add.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'widgets/table/e-table-click-to-add.c') diff --git a/widgets/table/e-table-click-to-add.c b/widgets/table/e-table-click-to-add.c index d0fa452f40..12cc466d9e 100644 --- a/widgets/table/e-table-click-to-add.c +++ b/widgets/table/e-table-click-to-add.c @@ -301,6 +301,7 @@ finish_editing (ETableClickToAdd *etcta) if (etcta->row) { ETableModel *one; + e_table_item_leave_edit (E_TABLE_ITEM (etcta->row)); e_table_one_commit(E_TABLE_ONE(etcta->one)); etcta_drop_one (etcta); gtk_object_destroy(GTK_OBJECT(etcta->row)); @@ -388,6 +389,7 @@ etcta_event (GnomeCanvasItem *item, GdkEvent *e) return FALSE; break; } + break; default: return FALSE; -- cgit v1.2.3