Use default book, not local one.

* tools/evolution-addressbook-import.c (main): Use default book,
	not local one.

	* tools/evolution-addressbook-export.c (main): Likewise.

	* tools/evolution-addressbook-abuse.c (abuse_timeout): Likewise.

svn path=/trunk/; revision=17766
This commit is contained in:
Dan Winship
2002-08-13 01:06:15 +00:00
parent 1c52eea098
commit 67d091d07e
4 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,12 @@
2002-08-12 Dan Winship <danw@ximian.com>
* tools/evolution-addressbook-import.c (main): Use default book,
not local one.
* tools/evolution-addressbook-export.c (main): Likewise.
* tools/evolution-addressbook-abuse.c (abuse_timeout): Likewise.
2002-08-11 Jeffrey Stedfast <fejj@ximian.com>
* README: Update required gal and gtkhtml dependency information.

View File

@ -95,7 +95,7 @@ static gint
abuse_timeout (gpointer foo)
{
EBook *book = e_book_new ();
e_book_load_local_address_book (book, use_addressbook, NULL);
e_book_load_default_book (book, use_addressbook, NULL);
++call_count;
g_message ("timeout!");

View File

@ -59,7 +59,7 @@ main (int argc, char *argv[])
if (bonobo_init (CORBA_OBJECT_NIL, CORBA_OBJECT_NIL, CORBA_OBJECT_NIL) == FALSE)
g_error (_("Could not initialize Bonobo"));
e_book_use_local_address_book (use_addressbook, filename);
e_book_use_default_book (use_addressbook, filename);
bonobo_main ();

View File

@ -85,7 +85,7 @@ main (int argc, char *argv[])
if (bonobo_init (CORBA_OBJECT_NIL, CORBA_OBJECT_NIL, CORBA_OBJECT_NIL) == FALSE)
g_error (_("Could not initialize Bonobo"));
e_book_use_local_address_book (use_addressbook, filename);
e_book_use_default_book (use_addressbook, filename);
bonobo_main ();