diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-08-03 00:58:20 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-08-03 00:58:20 +0800 |
commit | c1634ed107aabff1cd2b71a1e5550f446ab7cb23 (patch) | |
tree | 2423c433fc2bea814458d21d4aea02a7bec49f73 /addressbook/gui | |
parent | 5fbcc4828efb084344e9c5fd42ebccb288ee492f (diff) | |
download | gsoc2013-evolution-c1634ed107aabff1cd2b71a1e5550f446ab7cb23.tar gsoc2013-evolution-c1634ed107aabff1cd2b71a1e5550f446ab7cb23.tar.gz gsoc2013-evolution-c1634ed107aabff1cd2b71a1e5550f446ab7cb23.tar.bz2 gsoc2013-evolution-c1634ed107aabff1cd2b71a1e5550f446ab7cb23.tar.lz gsoc2013-evolution-c1634ed107aabff1cd2b71a1e5550f446ab7cb23.tar.xz gsoc2013-evolution-c1634ed107aabff1cd2b71a1e5550f446ab7cb23.tar.zst gsoc2013-evolution-c1634ed107aabff1cd2b71a1e5550f446ab7cb23.zip |
Emit "model_pre_change" signal as appropriate.
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.
svn path=/trunk/; revision=4473
Diffstat (limited to 'addressbook/gui')
-rw-r--r-- | addressbook/gui/component/e-addressbook-model.c | 2 | ||||
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor-categories.c | 2 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-model.c | 2 |
3 files changed, 6 insertions, 0 deletions
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; |