Get the font from the style again when the style changes. (init): Checks

2002-06-03  Christopher James Lahey  <clahey@ximian.com>

	* 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
This commit is contained in:
Christopher James Lahey
2002-06-03 21:54:37 +00:00
committed by Chris Lahey
parent bf0fa9c240
commit ccc7bafebe
5 changed files with 64 additions and 6 deletions

View File

@ -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;