aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/addressbook.c
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 /addressbook/gui/component/addressbook.c
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
Diffstat (limited to 'addressbook/gui/component/addressbook.c')
-rw-r--r--addressbook/gui/component/addressbook.c3
1 files changed, 3 insertions, 0 deletions
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 {