aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2002-04-26 14:12:47 +0800
committerChris Lahey <clahey@src.gnome.org>2002-04-26 14:12:47 +0800
commit9785d01bdca592a6aeaba1b4e9751f6f006a9158 (patch)
treeb31029fc9b5d8e9a382e9c59736a2d7019aa88be
parente2ea35aab9fe8821eb4c42224d635e96745bfbf7 (diff)
downloadgsoc2013-evolution-9785d01bdca592a6aeaba1b4e9751f6f006a9158.tar
gsoc2013-evolution-9785d01bdca592a6aeaba1b4e9751f6f006a9158.tar.gz
gsoc2013-evolution-9785d01bdca592a6aeaba1b4e9751f6f006a9158.tar.bz2
gsoc2013-evolution-9785d01bdca592a6aeaba1b4e9751f6f006a9158.tar.lz
gsoc2013-evolution-9785d01bdca592a6aeaba1b4e9751f6f006a9158.tar.xz
gsoc2013-evolution-9785d01bdca592a6aeaba1b4e9751f6f006a9158.tar.zst
gsoc2013-evolution-9785d01bdca592a6aeaba1b4e9751f6f006a9158.zip
Added calls to e_table_model_pre_change here so that the ETableItem
2002-04-26 Christopher James Lahey <clahey@ximian.com> * e-table-memory-store.c (e_table_memory_store_adopt_value_at, etms_set_value_at): Added calls to e_table_model_pre_change here so that the ETableItem doesn't unfreeze more times than it freezes. svn path=/trunk/; revision=16593
-rw-r--r--widgets/table/e-table-memory-store.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/widgets/table/e-table-memory-store.c b/widgets/table/e-table-memory-store.c
index 1bac335237..a16bb104b1 100644
--- a/widgets/table/e-table-memory-store.c
+++ b/widgets/table/e-table-memory-store.c
@@ -80,6 +80,8 @@ etms_set_value_at (ETableModel *etm, int col, int row, const void *val)
{
ETableMemoryStore *etms = E_TABLE_MEMORY_STORE(etm);
+ e_table_model_pre_change (etm);
+
STORE_LOCATOR (etms, col, row) = duplicate_value (etms, col, val);
e_table_model_cell_changed (etm, col, row);
@@ -320,6 +322,8 @@ e_table_memory_store_construct (ETableMemoryStore *etms, ETableMemoryStoreColumn
void
e_table_memory_store_adopt_value_at (ETableMemoryStore *etms, int col, int row, void *value)
{
+ e_table_model_pre_change (E_TABLE_MODEL (etms));
+
STORE_LOCATOR (etms, col, row) = value;
e_table_model_cell_changed (E_TABLE_MODEL (etms), col, row);