aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table/e-table-group-leaf.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-05-04 14:49:31 +0800
committerChris Lahey <clahey@src.gnome.org>2000-05-04 14:49:31 +0800
commite6f93efbadf410e6c9dcd9b4326562b27a8cfef0 (patch)
tree84c2889375c889723e5faf5955df328e64506ebe /widgets/e-table/e-table-group-leaf.c
parent5801d079852bd2e877d9511e4c3ea8083066c58c (diff)
downloadgsoc2013-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.c17
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);