aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/gui/component/addressbook-component.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 0a89664d2a..d0e4690ce6 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,8 @@
+2004-05-20 Chris Toshok <toshok@ximian.com>
+
+ * gui/component/addressbook-component.c (impl_requestCreateItem):
+ use the new ebook api here. missed this one in my earlier commit.
+
2004-05-20 Radek Doulik <rodo@ximian.com>
* printing/e-contact-print.c (complete_sequence): finish pages
diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c
index e74b0d7dda..6223164d62 100644
--- a/addressbook/gui/component/addressbook-component.c
+++ b/addressbook/gui/component/addressbook-component.c
@@ -151,6 +151,7 @@ impl_requestCreateItem (PortableServer_Servant servant,
{
AddressbookComponent *addressbook_component = ADDRESSBOOK_COMPONENT (bonobo_object_from_servant (servant));
AddressbookComponentPrivate *priv;
+ EBook *book;
priv = addressbook_component->priv;
@@ -167,7 +168,8 @@ impl_requestCreateItem (PortableServer_Servant servant,
return;
}
- e_book_async_get_default_addressbook (book_loaded_cb, g_strdup (item_type_name));
+ book = e_book_new_default_addressbook (NULL);
+ e_book_async_open (book, FALSE, book_loaded_cb, g_strdup (item_type_name));
}
static void