From 18fa92ee1db9cc931f2783a1343ddad7f0418ede Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 16 May 2000 09:06:26 +0000 Subject: Fixed a FIXME comment. 2000-05-16 Christopher James Lahey * e-table-sorted-variable.c: Fixed a FIXME comment. * e-table-header.c, e-table-header.h: Added code to put off size calculation to the idle loop. Added code to not resize columns with 0 expansion. Removed the set_width function; it's been replaced with a Gtk+ arg. * Makefile.am: Added e-table-defines.h to the Makefile.am. * e-table-defines.h: A new file containing some #defines for use in ETable. svn path=/trunk/; revision=3077 --- widgets/e-table/e-table-header.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'widgets/e-table/e-table-header.h') diff --git a/widgets/e-table/e-table-header.h b/widgets/e-table/e-table-header.h index 6ff4874f6f..0dcce14b1e 100644 --- a/widgets/e-table/e-table-header.h +++ b/widgets/e-table/e-table-header.h @@ -23,12 +23,16 @@ struct _ETableHeader { int col_count; int width; + int nominal_width; ETableSortInfo *sort_info; int sort_info_group_change_id; ETableCol **columns; gboolean selectable; + + GSList *change_queue, *change_tail; + gint idle; }; typedef struct { @@ -59,7 +63,6 @@ void e_table_header_move (ETableHeader *eth, int source_index, int target_index); void e_table_header_remove (ETableHeader *eth, int idx); -void e_table_header_set_width (ETableHeader *eth, int width); void e_table_header_set_size (ETableHeader *eth, int idx, int size); void e_table_header_set_selection (ETableHeader *eth, gboolean allow_selection); -- cgit