aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-item.c
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-table-item.c
parentf553e16d8fc2a714a7f735ac2f7ee496afa37a57 (diff)
downloadgsoc2013-evolution-71a63f1498b615c98a543138532cbbfc64cd616f.tar.gz
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-table-item.c')
-rw-r--r--widgets/table/e-table-item.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c
index d090aa9b43..df8474eb15 100644
--- a/widgets/table/e-table-item.c
+++ b/widgets/table/e-table-item.c
@@ -978,6 +978,7 @@ eti_freeze (ETableItem *eti)
static void
eti_unfreeze (ETableItem *eti)
{
+ g_return_if_fail (eti->frozen_count != 0);
eti->frozen_count --;
if (eti->frozen_count == 0 && eti->queue_show_cursor) {
eti_show_cursor (eti, 0);
@@ -1210,7 +1211,8 @@ eti_add_table_model (ETableItem *eti, ETableModel *table_model)
if (eti->source_model)
gtk_object_ref(GTK_OBJECT(eti->source_model));
}
-
+
+ eti_freeze (eti);
eti_table_model_changed (table_model, eti);
}