From ad19cadacbf76522f243e5f94d0fc4de9c37d937 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Thu, 15 May 2003 22:50:29 +0000 Subject: backing out a tiny porting of jpr's fix - we need to set the book on the 2003-05-15 Chris Toshok * 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 --- addressbook/gui/component/addressbook.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'addressbook/gui/component') 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 { -- cgit v1.2.3