From a99162af68e5773c4c4a6f98de6723627e990b1e Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Fri, 25 May 2001 21:31:10 +0000 Subject: Remove row row + i instead of row i. (et_table_rows_inserted): Insert row 2001-05-25 Christopher James Lahey * e-table.c (et_table_rows_deleted): Remove row row + i instead of row i. (et_table_rows_inserted): Insert row row + i instead of row row. svn path=/trunk/; revision=10003 --- widgets/table/e-table.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'widgets/table') diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c index 9293965824..dfb2e0a397 100644 --- a/widgets/table/e-table.c +++ b/widgets/table/e-table.c @@ -566,7 +566,7 @@ et_table_rows_inserted (ETableModel *table_model, int row, int count, ETable *et if (row != row_count - count) e_table_group_increment(et->group, row, count); for (i = 0; i < count; i++) - e_table_group_add (et->group, row); + e_table_group_add (et->group, row + i); if (et->horizontal_scrolling) e_table_header_update_horizontal(et->header); } @@ -579,7 +579,7 @@ et_table_rows_deleted (ETableModel *table_model, int row, int count, ETable *et) if (!et->need_rebuild) { int i; for (i = 0; i < count; i++) - e_table_group_remove (et->group, i); + e_table_group_remove (et->group, row + i); if (row != row_count) e_table_group_decrement(et->group, row, count); if (et->horizontal_scrolling) -- cgit