aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-08-23 07:47:19 +0800
committerChris Lahey <clahey@src.gnome.org>2000-08-23 07:47:19 +0800
commit6b2a9a563f754366af99671e5df19fbc4c8c7ad8 (patch)
treea4acb5da8ef77dfe5e8d4fee6ff5b39aa16c498c /addressbook/gui/component
parentc1231cdf52524bfc75cfce86524e8427bbdee6f4 (diff)
downloadgsoc2013-evolution-6b2a9a563f754366af99671e5df19fbc4c8c7ad8.tar
gsoc2013-evolution-6b2a9a563f754366af99671e5df19fbc4c8c7ad8.tar.gz
gsoc2013-evolution-6b2a9a563f754366af99671e5df19fbc4c8c7ad8.tar.bz2
gsoc2013-evolution-6b2a9a563f754366af99671e5df19fbc4c8c7ad8.tar.lz
gsoc2013-evolution-6b2a9a563f754366af99671e5df19fbc4c8c7ad8.tar.xz
gsoc2013-evolution-6b2a9a563f754366af99671e5df19fbc4c8c7ad8.tar.zst
gsoc2013-evolution-6b2a9a563f754366af99671e5df19fbc4c8c7ad8.zip
Started adding a time zone field to ECard.
2000-08-22 Christopher James Lahey <clahey@helixcode.com> * backend/e-card.h: Started adding a time zone field to ECard. * gui/component/e-addressbook-model.c: Added e_table_model_pre_change where appropriate. * gui/minicard/e-minicard-control.c: Added a ref and unref pair. svn path=/trunk/; revision=4971
Diffstat (limited to 'addressbook/gui/component')
-rw-r--r--addressbook/gui/component/e-addressbook-model.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/addressbook/gui/component/e-addressbook-model.c b/addressbook/gui/component/e-addressbook-model.c
index d46b42fe00..9df7ab7225 100644
--- a/addressbook/gui/component/e-addressbook-model.c
+++ b/addressbook/gui/component/e-addressbook-model.c
@@ -178,6 +178,7 @@ create_card(EBookView *book_view,
EAddressbookModel *model)
{
model->data = g_realloc(model->data, (model->data_count + g_list_length((GList *)cards)) * sizeof(ECard *));
+ e_table_model_pre_change(E_TABLE_MODEL(model));
for ( ; cards; cards = cards->next) {
model->data[model->data_count++] = e_card_simple_new (E_CARD(cards->data));
e_table_model_row_inserted(E_TABLE_MODEL(model), model->data_count - 1);
@@ -190,6 +191,7 @@ remove_card(EBookView *book_view,
EAddressbookModel *model)
{
int i;
+ e_table_model_pre_change(E_TABLE_MODEL(model));
for ( i = 0; i < model->data_count; i++) {
if ( !strcmp(e_card_simple_get_id(model->data[i]), id) ) {
gtk_object_unref(GTK_OBJECT(model->data[i]));