aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-tree-model.h
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-11-01 07:42:08 +0800
committerChris Lahey <clahey@src.gnome.org>2001-11-01 07:42:08 +0800
commit71a63f1498b615c98a543138532cbbfc64cd616f (patch)
tree413f3a87e737bd79661cf82567846ddc1f3d88c1 /widgets/table/e-tree-model.h
parentf553e16d8fc2a714a7f735ac2f7ee496afa37a57 (diff)
downloadgsoc2013-evolution-71a63f1498b615c98a543138532cbbfc64cd616f.tar
gsoc2013-evolution-71a63f1498b615c98a543138532cbbfc64cd616f.tar.gz
gsoc2013-evolution-71a63f1498b615c98a543138532cbbfc64cd616f.tar.bz2
gsoc2013-evolution-71a63f1498b615c98a543138532cbbfc64cd616f.tar.lz
gsoc2013-evolution-71a63f1498b615c98a543138532cbbfc64cd616f.tar.xz
gsoc2013-evolution-71a63f1498b615c98a543138532cbbfc64cd616f.tar.zst
gsoc2013-evolution-71a63f1498b615c98a543138532cbbfc64cd616f.zip
Bumped the version number to 0.16.99.0 and GAL_CURRENT to 17.
2001-10-31 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the version number to 0.16.99.0 and GAL_CURRENT to 17. From gal/e-table/ChangeLog: 2001-10-31 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_unfreeze): Check for unfreezing past 0 here and give a warning. (eti_add_table_model): Call eti_freeze here since eti_table_model_changed will call unfreeze. * e-tree-memory.c (e_tree_memory_node_remove): Send deleted signal after freeing the child. * e-tree-model.c, e-tree-model.h: Added node_deleted signal. removed/deleted signals will always come in pairs in that order with a single pre_change for both of them. * e-tree-selection-model.c (etsm_node_deleted): Clear the tree on deleted here instead of on removed. * e-tree-sorted.c (ets_proxy_node_deleted): Chain deleted here. Chains to NULL node which is fine for now. svn path=/trunk/; revision=14557
Diffstat (limited to 'widgets/table/e-tree-model.h')
-rw-r--r--widgets/table/e-tree-model.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/widgets/table/e-tree-model.h b/widgets/table/e-tree-model.h
index f7d3497841..c80a131b1c 100644
--- a/widgets/table/e-tree-model.h
+++ b/widgets/table/e-tree-model.h
@@ -97,6 +97,11 @@ struct ETreeModelClass {
/*
* Signals
*/
+ /* During remove, the ETreePath of the child is removed from
+ * the tree but is still valid. At node_deleted, the
+ * ETreePath is no longer valid.
+ */
+
void (*pre_change) (ETreeModel *etm);
void (*no_change) (ETreeModel *etm);
void (*node_changed) (ETreeModel *etm, ETreePath node);
@@ -104,6 +109,7 @@ struct ETreeModelClass {
void (*node_col_changed) (ETreeModel *etm, ETreePath node, int col);
void (*node_inserted) (ETreeModel *etm, ETreePath parent, ETreePath inserted_node);
void (*node_removed) (ETreeModel *etm, ETreePath parent, ETreePath removed_node, int old_position);
+ void (*node_deleted) (ETreeModel *etm, ETreePath deleted_node);
};
GtkType e_tree_model_get_type (void);
ETreeModel *e_tree_model_new (void);
@@ -201,6 +207,8 @@ void e_tree_model_node_removed (ETreeModel *tree_model,
ETreePath parent_node,
ETreePath removed_node,
int old_position);
+void e_tree_model_node_deleted (ETreeModel *tree_model,
+ ETreePath deleted_node);
#ifdef __cplusplus
}