aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-10-31 18:42:34 +0800
committerChris Lahey <clahey@src.gnome.org>2001-10-31 18:42:34 +0800
commit2cfc5ae7aee2bd4db5f82a9d972ec552c17cdc07 (patch)
tree51f5fc925886aa13fba7419af30f84f4240a2003 /addressbook/gui/widgets
parenta3dfed7a8ee692868643df7788e73064d9952ed2 (diff)
downloadgsoc2013-evolution-2cfc5ae7aee2bd4db5f82a9d972ec552c17cdc07.tar
gsoc2013-evolution-2cfc5ae7aee2bd4db5f82a9d972ec552c17cdc07.tar.gz
gsoc2013-evolution-2cfc5ae7aee2bd4db5f82a9d972ec552c17cdc07.tar.bz2
gsoc2013-evolution-2cfc5ae7aee2bd4db5f82a9d972ec552c17cdc07.tar.lz
gsoc2013-evolution-2cfc5ae7aee2bd4db5f82a9d972ec552c17cdc07.tar.xz
gsoc2013-evolution-2cfc5ae7aee2bd4db5f82a9d972ec552c17cdc07.tar.zst
gsoc2013-evolution-2cfc5ae7aee2bd4db5f82a9d972ec552c17cdc07.zip
Make the pre_changes and changes match here.
2001-10-31 Christopher James Lahey <clahey@ximian.com> * gui/component/e-cardlist-model.c, gui/component/select-names/e-select-names-table-model.c, gui/widgets/e-addressbook-table-adapter.c: Make the pre_changes and changes match here. svn path=/trunk/; revision=14526
Diffstat (limited to 'addressbook/gui/widgets')
-rw-r--r--addressbook/gui/widgets/e-addressbook-table-adapter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-table-adapter.c b/addressbook/gui/widgets/e-addressbook-table-adapter.c
index f055b34a03..08c03863aa 100644
--- a/addressbook/gui/widgets/e-addressbook-table-adapter.c
+++ b/addressbook/gui/widgets/e-addressbook-table-adapter.c
@@ -150,6 +150,8 @@ addressbook_set_value_at (ETableModel *etc, int col, int row, const void *val)
if ( col >= COLS|| row >= e_addressbook_model_card_count (priv->model) )
return;
+ e_table_model_pre_change(etc);
+
e_card_simple_set(priv->simples[row],
col,
val);
@@ -334,6 +336,7 @@ static void
model_changed (EAddressbookModel *model,
EAddressbookTableAdapter *adapter)
{
+ e_table_model_pre_change (E_TABLE_MODEL (adapter));
build_simple_mapping (adapter);
e_table_model_changed (E_TABLE_MODEL (adapter));
}