aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-05-26 05:31:10 +0800
committerChris Lahey <clahey@src.gnome.org>2001-05-26 05:31:10 +0800
commita99162af68e5773c4c4a6f98de6723627e990b1e (patch)
tree2aff30307228cefc9ae89df77f891b0a746dcc13 /widgets/table/e-table.c
parent9e14fe9c69d4b07b87721b3895c3b75474efd7b4 (diff)
downloadgsoc2013-evolution-a99162af68e5773c4c4a6f98de6723627e990b1e.tar
gsoc2013-evolution-a99162af68e5773c4c4a6f98de6723627e990b1e.tar.gz
gsoc2013-evolution-a99162af68e5773c4c4a6f98de6723627e990b1e.tar.bz2
gsoc2013-evolution-a99162af68e5773c4c4a6f98de6723627e990b1e.tar.lz
gsoc2013-evolution-a99162af68e5773c4c4a6f98de6723627e990b1e.tar.xz
gsoc2013-evolution-a99162af68e5773c4c4a6f98de6723627e990b1e.tar.zst
gsoc2013-evolution-a99162af68e5773c4c4a6f98de6723627e990b1e.zip
Remove row row + i instead of row i. (et_table_rows_inserted): Insert row
2001-05-25 Christopher James Lahey <clahey@ximian.com> * 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
Diffstat (limited to 'widgets/table/e-table.c')
-rw-r--r--widgets/table/e-table.c4
1 files changed, 2 insertions, 2 deletions
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)