diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-05-04 14:49:31 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-05-04 14:49:31 +0800 |
commit | e6f93efbadf410e6c9dcd9b4326562b27a8cfef0 (patch) | |
tree | 84c2889375c889723e5faf5955df328e64506ebe /widgets/e-table/e-table-group-leaf.c | |
parent | 5801d079852bd2e877d9511e4c3ea8083066c58c (diff) | |
download | gsoc2013-evolution-e6f93efbadf410e6c9dcd9b4326562b27a8cfef0.tar.gz gsoc2013-evolution-e6f93efbadf410e6c9dcd9b4326562b27a8cfef0.tar.zst gsoc2013-evolution-e6f93efbadf410e6c9dcd9b4326562b27a8cfef0.zip |
Fix author information.
2000-05-04 Christopher James Lahey <clahey@helixcode.com>
* e-cell-text.c, e-cell-text.h: Fix author information.
* e-table-group-leaf.c: Set a length threshold of 200.
* e-table-item.c: Height cache is now actually a map. Made
"length_threshold" argument work. If over the length threshold,
use the height cache to get a better estimate so that once the
height cache is full, height estimate is perfect.
svn path=/trunk/; revision=2791
Diffstat (limited to 'widgets/e-table/e-table-group-leaf.c')
-rw-r--r-- | widgets/e-table/e-table-group-leaf.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/widgets/e-table/e-table-group-leaf.c b/widgets/e-table/e-table-group-leaf.c index bfa72e86ab..54aa3748f3 100644 --- a/widgets/e-table/e-table-group-leaf.c +++ b/widgets/e-table/e-table-group-leaf.c @@ -97,14 +97,15 @@ etgl_realize (GnomeCanvasItem *item) GNOME_CANVAS_ITEM_CLASS (etgl_parent_class)->realize (item); etgl->item = E_TABLE_ITEM(gnome_canvas_item_new (GNOME_CANVAS_GROUP(etgl), - e_table_item_get_type (), - "ETableHeader", E_TABLE_GROUP(etgl)->header, - "ETableModel", etgl->subset, - "drawgrid", TRUE, - "drawfocus", TRUE, - "spreadsheet", TRUE, - "width", etgl->width, - NULL)); + e_table_item_get_type (), + "ETableHeader", E_TABLE_GROUP(etgl)->header, + "ETableModel", etgl->subset, + "drawgrid", TRUE, + "drawfocus", TRUE, + "spreadsheet", TRUE, + "width", etgl->width, + "length_threshold", 200, + NULL)); gtk_signal_connect (GTK_OBJECT(etgl->item), "row_selection", GTK_SIGNAL_FUNC(etgl_row_selection), etgl); |