From 175618ed1efc1ba19645cee9127055bdbd34196b Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Mon, 22 Oct 2001 22:10:27 +0000 Subject: Added a disabled field here. 2001-10-22 Christopher James Lahey * e-table-col.c, e-table-col.h, e-table-column-specification.c, e-table-column-specification.h: Added a disabled field here. * e-table-config.c, e-table-field-chooser-item.c: Pay attention to the disabled field here. * e-table-utils.c: Copy the disabled field from the column specification to the col. svn path=/trunk/; revision=13897 --- widgets/table/e-table-col.h | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) (limited to 'widgets/table/e-table-col.h') diff --git a/widgets/table/e-table-col.h b/widgets/table/e-table-col.h index 90deb85f3a..80901ede55 100644 --- a/widgets/table/e-table-col.h +++ b/widgets/table/e-table-col.h @@ -36,6 +36,7 @@ typedef struct { unsigned int is_pixbuf:1; unsigned int selected:1; unsigned int resizable:1; + unsigned int disabled:1; unsigned int sortable:1; unsigned int groupable:1; int col_idx; @@ -50,17 +51,27 @@ typedef struct { GtkObjectClass parent_class; } ETableColClass; -GtkType e_table_col_get_type (void); -ETableCol *e_table_col_new (int col_idx, const char *text, - double expansion, int min_width, - ECell *ecell, GCompareFunc compare, - gboolean resizable, int priority); -ETableCol *e_table_col_new_with_pixbuf (int col_idx, const char *text, - GdkPixbuf *pixbuf, - double expansion, int min_width, - ECell *ecell, GCompareFunc compare, - gboolean resizable, int priority); -void e_table_col_destroy (ETableCol *etc); +GtkType e_table_col_get_type (void); +ETableCol *e_table_col_new (int col_idx, + const char *text, + double expansion, + int min_width, + ECell *ecell, + GCompareFunc compare, + gboolean resizable, + gboolean disabled, + int priority); +ETableCol *e_table_col_new_with_pixbuf (int col_idx, + const char *text, + GdkPixbuf *pixbuf, + double expansion, + int min_width, + ECell *ecell, + GCompareFunc compare, + gboolean resizable, + gboolean disabled, + int priority); +void e_table_col_destroy (ETableCol *etc); #ifdef __cplusplus -- cgit v1.2.3