diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-04-10 11:22:33 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-04-10 11:22:33 +0800 |
commit | f37767da8e80f84a5ecf98c17259c24c9a875ebc (patch) | |
tree | 0dc6fcf7ac16b158cdc59a22b2f453a91efbb608 /widgets/table/e-table-item.c | |
parent | bdb627f2439cdff4c1acd0ed05bcd16d3b45c139 (diff) | |
download | gsoc2013-evolution-f37767da8e80f84a5ecf98c17259c24c9a875ebc.tar.gz gsoc2013-evolution-f37767da8e80f84a5ecf98c17259c24c9a875ebc.tar.zst gsoc2013-evolution-f37767da8e80f84a5ecf98c17259c24c9a875ebc.zip |
Changed resizeable to resizable in ETableCol for consistency.
2001-04-09 Christopher James Lahey <clahey@ximian.com>
* e-table-col.c, e-table-col.h, e-table-header-item.c,
e-table-header.c, e-table-item.c: Changed resizeable to resizable
in ETableCol for consistency.
* e-tree-selection-model.c (etsm_row_of_node): Return -1 here if
the path isn't found.
(etsm_sorted_node_changed): If cursor_row is -1, make cursor_col
-1 as well.
svn path=/trunk/; revision=9211
Diffstat (limited to 'widgets/table/e-table-item.c')
-rw-r--r-- | widgets/table/e-table-item.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c index 36b79866bb..8408a5805a 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -2428,13 +2428,13 @@ e_table_item_calculate_print_widths (ETableHeader *eth, gdouble width) expansion = 0; for (i = 0; i < eth->col_count; i++) { extra -= eth->columns[i]->min_width * scale; - if (eth->columns[i]->resizeable && eth->columns[i]->expansion > 0) + if (eth->columns[i]->resizable && eth->columns[i]->expansion > 0) last_resizable = i; - expansion += eth->columns[i]->resizeable ? eth->columns[i]->expansion : 0; + expansion += eth->columns[i]->resizable ? eth->columns[i]->expansion : 0; widths[i] = eth->columns[i]->min_width * scale; } for (i = 0; i <= last_resizable; i++) { - widths[i] += extra * (eth->columns[i]->resizeable ? eth->columns[i]->expansion : 0)/expansion; + widths[i] += extra * (eth->columns[i]->resizable ? eth->columns[i]->expansion : 0)/expansion; } return widths; |