From 0adb2a51d933d3f757101791ac11557661bf3708 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 13 Mar 2001 21:11:08 +0000 Subject: Moved where we call pas_book_respond_get_book_view. 2001-03-13 Christopher James Lahey * backend/pas/pas-backend-file.c (pas_backend_file_process_get_book_view): Moved where we call pas_book_respond_get_book_view. svn path=/trunk/; revision=8685 --- addressbook/ChangeLog | 6 ++++++ addressbook/backend/pas/pas-backend-file.c | 12 ++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) (limited to 'addressbook') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 22ed51f507..8821a28a09 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,9 @@ +2001-03-13 Christopher James Lahey + + * backend/pas/pas-backend-file.c + (pas_backend_file_process_get_book_view): Moved where we call + pas_book_respond_get_book_view. + 2001-03-12 Chris Toshok * backend/pas/pas-backend-ldap.c: add E_STRING_PROP for diff --git a/addressbook/backend/pas/pas-backend-file.c b/addressbook/backend/pas/pas-backend-file.c index 04c442461a..88e78382e5 100644 --- a/addressbook/backend/pas/pas-backend-file.c +++ b/addressbook/backend/pas/pas-backend-file.c @@ -986,12 +986,6 @@ pas_backend_file_process_get_book_view (PASBackend *backend, gtk_signal_connect(GTK_OBJECT(book_view), "destroy", GTK_SIGNAL_FUNC(view_destroy), book); - pas_book_respond_get_book_view (book, - (book_view != NULL - ? GNOME_Evolution_Addressbook_BookListener_Success - : GNOME_Evolution_Addressbook_BookListener_CardNotFound /* XXX */), - book_view); - view.book_view = book_view; view.search = req->search; view.search_sexp = NULL; @@ -1001,6 +995,12 @@ pas_backend_file_process_get_book_view (PASBackend *backend, e_list_append(bf->priv->book_views, &view); + pas_book_respond_get_book_view (book, + (book_view != NULL + ? GNOME_Evolution_Addressbook_BookListener_Success + : GNOME_Evolution_Addressbook_BookListener_CardNotFound /* XXX */), + book_view); + iterator = e_list_get_iterator(bf->priv->book_views); e_iterator_last(iterator); pas_backend_file_search (bf, book, e_iterator_get(iterator)); -- cgit v1.2.3