aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/contact-editor/e-contact-editor-categories.c2
-rw-r--r--addressbook/gui/component/e-addressbook-model.c2
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor-categories.c2
-rw-r--r--addressbook/gui/widgets/e-addressbook-model.c2
5 files changed, 14 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 72b783b727..f0d9f72438 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,11 @@
2000-08-02 Christopher James Lahey <clahey@helixcode.com>
+ * contact-editor/e-contact-editor-categories.c,
+ gui/component/e-addressbook-model.c: Emit "model_pre_change"
+ signal as appropriate.
+
+2000-08-02 Christopher James Lahey <clahey@helixcode.com>
+
* gui/component/e-addressbook-model.c: Adapted this to supply the
new append_row API of ETableModel.
diff --git a/addressbook/contact-editor/e-contact-editor-categories.c b/addressbook/contact-editor/e-contact-editor-categories.c
index 02ea452c1d..9251a86948 100644
--- a/addressbook/contact-editor/e-contact-editor-categories.c
+++ b/addressbook/contact-editor/e-contact-editor-categories.c
@@ -157,6 +157,8 @@ do_parse_categories(EContactEditorCategories *categories)
char **list;
int count = 1;
+ e_table_model_pre_change(categories->model);
+
for (i = 0; i < categories->list_length; i++)
g_free(categories->category_list[i]);
g_free(categories->category_list);
diff --git a/addressbook/gui/component/e-addressbook-model.c b/addressbook/gui/component/e-addressbook-model.c
index 4eb4a0f937..87b872784c 100644
--- a/addressbook/gui/component/e-addressbook-model.c
+++ b/addressbook/gui/component/e-addressbook-model.c
@@ -300,6 +300,8 @@ book_view_loaded (EBook *book, EBookStatus status, EBookView *book_view, gpointe
for ( i = 0; i < model->data_count; i++ ) {
gtk_object_unref(GTK_OBJECT(model->data[i]));
}
+
+ e_table_model_pre_change(E_TABLE_MODEL(model));
g_free(model->data);
model->data = NULL;
model->data_count = 0;
diff --git a/addressbook/gui/contact-editor/e-contact-editor-categories.c b/addressbook/gui/contact-editor/e-contact-editor-categories.c
index 02ea452c1d..9251a86948 100644
--- a/addressbook/gui/contact-editor/e-contact-editor-categories.c
+++ b/addressbook/gui/contact-editor/e-contact-editor-categories.c
@@ -157,6 +157,8 @@ do_parse_categories(EContactEditorCategories *categories)
char **list;
int count = 1;
+ e_table_model_pre_change(categories->model);
+
for (i = 0; i < categories->list_length; i++)
g_free(categories->category_list[i]);
g_free(categories->category_list);
diff --git a/addressbook/gui/widgets/e-addressbook-model.c b/addressbook/gui/widgets/e-addressbook-model.c
index 4eb4a0f937..87b872784c 100644
--- a/addressbook/gui/widgets/e-addressbook-model.c
+++ b/addressbook/gui/widgets/e-addressbook-model.c
@@ -300,6 +300,8 @@ book_view_loaded (EBook *book, EBookStatus status, EBookView *book_view, gpointe
for ( i = 0; i < model->data_count; i++ ) {
gtk_object_unref(GTK_OBJECT(model->data[i]));
}
+
+ e_table_model_pre_change(E_TABLE_MODEL(model));
g_free(model->data);
model->data = NULL;
model->data_count = 0;