aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog23
-rw-r--r--addressbook/gui/contact-list-editor/e-contact-list-model.c4
2 files changed, 13 insertions, 14 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 548497b26b..c3dc185d75 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,14 @@
+2003-05-06 Chris Toshok <toshok@ximian.com>
+
+ [ really commit this, fixes bug #41910 ]
+ * gui/contact-list-editor/e-contact-list-model.c
+ (e_contact_list_model_remove_row): change from model_changed to
+ row_deleted here. model_changed causes the table to free its
+ ETableSelection, which is what we iterate over when deleting
+ contacts.
+ (e_contact_list_model_add_destination): no need to be calling
+ model_changed here either.
+
2003-04-29 Chris Toshok <toshok@ximian.com>
[ fixes bug #41255 ]
@@ -26,18 +37,6 @@
2003-04-28 Chris Toshok <toshok@ximian.com>
- [ fixes bug #41910 ]
- * gui/contact-list-editor/e-contact-list-model.c
- (e_contact_list_model_remove_row): change from model_changed to
- row_deleted here. model_changed causes the table to free its
- ETableSelection, which is what we iterate over when deleting
- contacts.
- (e_contact_list_model_add_destination): no need to be calling
- model_changed here either.
-
-
-2003-04-28 Chris Toshok <toshok@ximian.com>
-
[ fixes bug #41843]
* tools/evolution-addressbook-export-list-cards.c
(e_card_simple_csv_get_name): use e_card_simple_get_ecard_field
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-model.c b/addressbook/gui/contact-list-editor/e-contact-list-model.c
index 6e8357d93c..6cad1bd9bf 100644
--- a/addressbook/gui/contact-list-editor/e-contact-list-model.c
+++ b/addressbook/gui/contact-list-editor/e-contact-list-model.c
@@ -182,7 +182,7 @@ e_contact_list_model_add_destination (EContactListModel *model, EDestination *de
model->data[model->data_count ++] = dest;
g_object_ref (dest);
- e_table_model_changed (E_TABLE_MODEL (model));
+ e_table_model_row_inserted (E_TABLE_MODEL (model), model->data_count - 1);
}
void
@@ -227,7 +227,7 @@ e_contact_list_model_remove_row (EContactListModel *model, int row)
memmove (model->data + row, model->data + row + 1, sizeof (EDestination*) * (model->data_count - row - 1));
model->data_count --;
- e_table_model_changed (E_TABLE_MODEL (model));
+ e_table_model_row_deleted (E_TABLE_MODEL (model), row);
}
void