aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2003-05-16 06:50:29 +0800
committerChris Toshok <toshok@src.gnome.org>2003-05-16 06:50:29 +0800
commitad19cadacbf76522f243e5f94d0fc4de9c37d937 (patch)
treeadbc451058d85ce63ce79b0bf29d71a3ea991375
parent071c74bd36bb49515fadb56dcae258699cf99b5d (diff)
downloadgsoc2013-evolution-ad19cadacbf76522f243e5f94d0fc4de9c37d937.tar.gz
gsoc2013-evolution-ad19cadacbf76522f243e5f94d0fc4de9c37d937.tar.zst
gsoc2013-evolution-ad19cadacbf76522f243e5f94d0fc4de9c37d937.zip
backing out a tiny porting of jpr's fix - we need to set the book on the
2003-05-15 Chris Toshok <toshok@ximian.com> * gui/component/addressbook.c (book_open_cb): backing out a tiny porting of jpr's fix - we need to set the book on the EAddressbookView, or else it won't do queries, and it won't show any cards. Fixes #43023, #43090. svn path=/trunk/; revision=21201
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/gui/component/addressbook.c3
2 files changed, 10 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index c5d64f58d2..4c2c05e043 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,12 @@
2003-05-15 Chris Toshok <toshok@ximian.com>
+ * gui/component/addressbook.c (book_open_cb): backing out a tiny
+ porting of jpr's fix - we need to set the book on the
+ EAddressbookView, or else it won't do queries, and it won't show
+ any cards. Fixes #43023.
+
+2003-05-15 Chris Toshok <toshok@ximian.com>
+
* gui/merging/e-card-merging.c (free_lookup): new function, split
out the duplicated teardown code from final_cb and final_id_cb.
also, unref the card.
diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c
index 1d7586f886..c770aaa8f5 100644
--- a/addressbook/gui/component/addressbook.c
+++ b/addressbook/gui/component/addressbook.c
@@ -484,6 +484,9 @@ book_open_cb (EBook *book, EBookStatus status, gpointer closure)
if (status == E_BOOK_STATUS_SUCCESS) {
view->failed_to_load = FALSE;
+ g_object_set(view->view,
+ "book", book,
+ NULL);
view->book = book;
}
else {