diff options
author | Chris Toshok <toshok@helixcode.com> | 2000-06-20 05:02:18 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2000-06-20 05:02:18 +0800 |
commit | 9c3a56da17c11cac014efcecd8ebcf099741d913 (patch) | |
tree | 6314b1ba2ca60a76fc425efb9cf9fa4a3fd159a3 /widgets/e-table | |
parent | b27eb5f67ae5a2b1bb93e661ac7862520ff30d4b (diff) | |
download | gsoc2013-evolution-9c3a56da17c11cac014efcecd8ebcf099741d913.tar gsoc2013-evolution-9c3a56da17c11cac014efcecd8ebcf099741d913.tar.gz gsoc2013-evolution-9c3a56da17c11cac014efcecd8ebcf099741d913.tar.bz2 gsoc2013-evolution-9c3a56da17c11cac014efcecd8ebcf099741d913.tar.lz gsoc2013-evolution-9c3a56da17c11cac014efcecd8ebcf099741d913.tar.xz gsoc2013-evolution-9c3a56da17c11cac014efcecd8ebcf099741d913.tar.zst gsoc2013-evolution-9c3a56da17c11cac014efcecd8ebcf099741d913.zip |
call e_table_model_row_inserted instead of e_table_model_changed.
2000-06-17 Chris Toshok <toshok@helixcode.com>
* e-tree-model.c (e_tree_model_node_insert): call
e_table_model_row_inserted instead of e_table_model_changed.
svn path=/trunk/; revision=3637
Diffstat (limited to 'widgets/e-table')
-rw-r--r-- | widgets/e-table/ChangeLog | 5 | ||||
-rw-r--r-- | widgets/e-table/e-tree-model.c | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/widgets/e-table/ChangeLog b/widgets/e-table/ChangeLog index 2b886a31df..93b4103bf7 100644 --- a/widgets/e-table/ChangeLog +++ b/widgets/e-table/ChangeLog @@ -1,3 +1,8 @@ +2000-06-17 Chris Toshok <toshok@helixcode.com> + + * e-tree-model.c (e_tree_model_node_insert): call + e_table_model_row_inserted instead of e_table_model_changed. + 2000-06-17 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c: Made cells with strikeout on have a line from the diff --git a/widgets/e-table/e-tree-model.c b/widgets/e-table/e-tree-model.c index c11cb58831..180c63bb96 100644 --- a/widgets/e-table/e-tree-model.c +++ b/widgets/e-table/e-tree-model.c @@ -591,6 +591,8 @@ e_tree_model_node_insert (ETreeModel *tree_model, tree_model->row_array = g_array_insert_val (tree_model->row_array, parent_row + position + 1, new_path); + + e_table_model_row_inserted (E_TABLE_MODEL(tree_model), parent_row + position + 1); } } else { @@ -598,11 +600,9 @@ e_tree_model_node_insert (ETreeModel *tree_model, if (tree_model->root_visible) tree_model->row_array = g_array_insert_val (tree_model->row_array, 0, tree_model->root); new_path = tree_model->root; - } - /* FIXME: find out the number of descendents that will be visible, - and call insert_row that many times. */ - e_table_model_changed (E_TABLE_MODEL(tree_model)); + e_table_model_row_inserted (E_TABLE_MODEL (tree_model), 0); + } return new_path; } |