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.c | |
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.c')
-rw-r--r-- | widgets/table/e-table-col.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/widgets/table/e-table-col.c b/widgets/table/e-table-col.c index 5eb18ada92..04a90cd193 100644 --- a/widgets/table/e-table-col.c +++ b/widgets/table/e-table-col.c @@ -119,7 +119,7 @@ E_MAKE_TYPE(e_table_col, "ETableCol", ETableCol, e_table_col_class_init, e_table */ ETableCol * e_table_col_new (int col_idx, const char *text, double expansion, int min_width, - ECell *ecell, GCompareFunc compare, gboolean resizable, int priority) + ECell *ecell, GCompareFunc compare, gboolean resizable, gboolean disabled, int priority) { ETableCol *etc; @@ -140,6 +140,7 @@ e_table_col_new (int col_idx, const char *text, double expansion, int min_width, etc->min_width = min_width; etc->ecell = ecell; etc->compare = compare; + etc->disabled = disabled; etc->priority = priority; etc->selected = 0; @@ -178,7 +179,7 @@ e_table_col_new (int col_idx, const char *text, double expansion, int min_width, */ 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) + ECell *ecell, GCompareFunc compare, gboolean resizable, gboolean disabled, int priority) { ETableCol *etc; @@ -199,6 +200,7 @@ e_table_col_new_with_pixbuf (int col_idx, const char *text, GdkPixbuf *pixbuf, d etc->min_width = min_width; etc->ecell = ecell; etc->compare = compare; + etc->disabled = disabled; etc->priority = priority; etc->selected = 0; |