diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-10-23 06:10:27 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-10-23 06:10:27 +0800 |
commit | 175618ed1efc1ba19645cee9127055bdbd34196b (patch) | |
tree | f495fdc39375fd065645aae9481aa4f64c48d809 /widgets/table/e-table-col.h | |
parent | b80a058e5534b668e11d7e6b31408acf52bf4bd3 (diff) | |
download | gsoc2013-evolution-175618ed1efc1ba19645cee9127055bdbd34196b.tar.gz gsoc2013-evolution-175618ed1efc1ba19645cee9127055bdbd34196b.tar.zst gsoc2013-evolution-175618ed1efc1ba19645cee9127055bdbd34196b.zip |
Added a disabled field here.
2001-10-22 Christopher James Lahey <clahey@ximian.com>
* 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
Diffstat (limited to 'widgets/table/e-table-col.h')
-rw-r--r-- | widgets/table/e-table-col.h | 33 |
1 files changed, 22 insertions, 11 deletions
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 |