diff options
author | JP Rosevear <jpr@ximian.com> | 2001-12-19 23:16:32 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-12-19 23:16:32 +0800 |
commit | b64f547cdd71098035e9b055ee7f0ec4de2b9e1c (patch) | |
tree | 08ca63a7b0166c5bbe565f44a55ba0aef6997fd9 /addressbook/backend/ebook/e-book-util.h | |
parent | d7e3011f5135db26ab911a65e8e5d6ad4faa45df (diff) | |
download | gsoc2013-evolution-b64f547cdd71098035e9b055ee7f0ec4de2b9e1c.tar gsoc2013-evolution-b64f547cdd71098035e9b055ee7f0ec4de2b9e1c.tar.gz gsoc2013-evolution-b64f547cdd71098035e9b055ee7f0ec4de2b9e1c.tar.bz2 gsoc2013-evolution-b64f547cdd71098035e9b055ee7f0ec4de2b9e1c.tar.lz gsoc2013-evolution-b64f547cdd71098035e9b055ee7f0ec4de2b9e1c.tar.xz gsoc2013-evolution-b64f547cdd71098035e9b055ee7f0ec4de2b9e1c.tar.zst gsoc2013-evolution-b64f547cdd71098035e9b055ee7f0ec4de2b9e1c.zip |
go slow and clear the map if the last uri and the current uri do not match
2001-12-18 JP Rosevear <jpr@ximian.com>
* conduit/address-conduit.c (check_for_slow_setting): go slow and
clear the map if the last uri and the current uri do not match
(post_sync): save the last uri
* conduits/address-conduit-config.h: handle a last uri config
option
2001-12-18 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook.c (addressbook_default_book_open):
change this to match its e-book counterpart, and only failover to
the local addressbook if the protocol wasn't supported. that way
errors like "failure to connect" are still reported to the user.
* backend/ebook/e-book-util.h: add prototypes for
e_book_load_default_book and e_book_get_config_database.
* backend/ebook/e-book-util.c (e_book_default_book_open): new
function, basically cut and paste addressbook_default_book_open
from addressbook.c here.
(e_book_load_default_book): cut and past
addressbook_load_default_book here, pretty much, except leave off
the auth stuff.
(e_book_get_config_database): new function, returns the
Bonobo_ConfigDatabase for e_book_load_default_book to use.
* conduit/address-conduit.c (start_addressbook_server): use
e_book_load_default_book here.
svn path=/trunk/; revision=15178
Diffstat (limited to 'addressbook/backend/ebook/e-book-util.h')
-rw-r--r-- | addressbook/backend/ebook/e-book-util.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/addressbook/backend/ebook/e-book-util.h b/addressbook/backend/ebook/e-book-util.h index 2fad0d9e9c..39e32e633d 100644 --- a/addressbook/backend/ebook/e-book-util.h +++ b/addressbook/backend/ebook/e-book-util.h @@ -29,6 +29,9 @@ #include <libgnome/gnome-defs.h> #include "e-book.h" +#include <bonobo-conf/bonobo-config-database.h> +#include <bonobo/bonobo-object.h> +#include <bonobo/bonobo-moniker-util.h> BEGIN_GNOME_DECLS @@ -43,6 +46,13 @@ gboolean e_book_load_local_address_book (EBook *book, void e_book_use_local_address_book (EBookCommonCallback cb, gpointer closure); +gboolean e_book_load_default_book (EBook *book, + EBookCallback open_response, + gpointer closure); + +/* Bonoboconf database interface. */ +Bonobo_ConfigDatabase e_book_get_config_database (CORBA_Environment *ev); + /* Simple Query Interface. */ guint e_book_simple_query (EBook *book, |