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:
@ -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>
|
2002-08-11 Jeffrey Stedfast <fejj@ximian.com>
|
||||||
|
|
||||||
* README: Update required gal and gtkhtml dependency information.
|
* README: Update required gal and gtkhtml dependency information.
|
||||||
|
@ -95,7 +95,7 @@ static gint
|
|||||||
abuse_timeout (gpointer foo)
|
abuse_timeout (gpointer foo)
|
||||||
{
|
{
|
||||||
EBook *book = e_book_new ();
|
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;
|
++call_count;
|
||||||
g_message ("timeout!");
|
g_message ("timeout!");
|
||||||
|
@ -59,7 +59,7 @@ main (int argc, char *argv[])
|
|||||||
if (bonobo_init (CORBA_OBJECT_NIL, CORBA_OBJECT_NIL, CORBA_OBJECT_NIL) == FALSE)
|
if (bonobo_init (CORBA_OBJECT_NIL, CORBA_OBJECT_NIL, CORBA_OBJECT_NIL) == FALSE)
|
||||||
g_error (_("Could not initialize Bonobo"));
|
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 ();
|
bonobo_main ();
|
||||||
|
|
||||||
|
@ -85,7 +85,7 @@ main (int argc, char *argv[])
|
|||||||
if (bonobo_init (CORBA_OBJECT_NIL, CORBA_OBJECT_NIL, CORBA_OBJECT_NIL) == FALSE)
|
if (bonobo_init (CORBA_OBJECT_NIL, CORBA_OBJECT_NIL, CORBA_OBJECT_NIL) == FALSE)
|
||||||
g_error (_("Could not initialize Bonobo"));
|
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 ();
|
bonobo_main ();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user