diff options
author | Seth Alves <alves@src.gnome.org> | 2000-07-27 16:17:48 +0800 |
---|---|---|
committer | Seth Alves <alves@src.gnome.org> | 2000-07-27 16:17:48 +0800 |
commit | b9185160531ef5c1826fa0e2870804ac3fe4a16b (patch) | |
tree | 01c2f51cf179c0b9f009a34fc9d7b409dc057f03 /addressbook/conduit | |
parent | d7a6fa8103b917819fd4f0229397f183057d4e56 (diff) | |
download | gsoc2013-evolution-b9185160531ef5c1826fa0e2870804ac3fe4a16b.tar gsoc2013-evolution-b9185160531ef5c1826fa0e2870804ac3fe4a16b.tar.gz gsoc2013-evolution-b9185160531ef5c1826fa0e2870804ac3fe4a16b.tar.bz2 gsoc2013-evolution-b9185160531ef5c1826fa0e2870804ac3fe4a16b.tar.lz gsoc2013-evolution-b9185160531ef5c1826fa0e2870804ac3fe4a16b.tar.xz gsoc2013-evolution-b9185160531ef5c1826fa0e2870804ac3fe4a16b.tar.zst gsoc2013-evolution-b9185160531ef5c1826fa0e2870804ac3fe4a16b.zip |
bug fixes
svn path=/trunk/; revision=4378
Diffstat (limited to 'addressbook/conduit')
-rw-r--r-- | addressbook/conduit/address-conduit.c | 8 | ||||
-rw-r--r-- | addressbook/conduit/address-conduit.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/addressbook/conduit/address-conduit.c b/addressbook/conduit/address-conduit.c index 918127fc5f..d347a8d3a0 100644 --- a/addressbook/conduit/address-conduit.c +++ b/addressbook/conduit/address-conduit.c @@ -111,14 +111,14 @@ cursor_cb (EBook *book, EBookStatus status, ECardCursor *cursor, gpointer closur long length; int i; - ctxt->cursor = cursor; + // ctxt->cursor = cursor; ctxt->address_load_success = TRUE; length = e_card_cursor_get_length (cursor); ctxt->cards = NULL; for (i = 0; i < length; i ++) ctxt->cards = g_list_append (ctxt->cards, e_card_cursor_get_nth (cursor, i)); - + gtk_main_quit(); /* end the sub event loop */ } else { @@ -154,7 +154,7 @@ start_address_server (GnomePilotConduitStandardAbs *conduit, path = g_concat_dir_and_file (g_get_home_dir (), "evolution/local/Contacts/addressbook.db"); - uri = g_strdup_printf ("file:%s", path); + uri = g_strdup_printf ("file://%s", path); g_free (path); e_book_load_uri (ctxt->ebook, uri, book_open_cb, ctxt); @@ -309,7 +309,7 @@ ecard_from_remote_record(GnomePilotConduitStandardAbs *conduit, ADD_PROP (orgprop, entryCompany, VCOrgNameProp); } -#if 0 +#if 1 for (i = entryPhone1; i <= entryPhone5; i ++) { if (address.entry [i]) { VObject *phoneprop = addPropValue (vobj, diff --git a/addressbook/conduit/address-conduit.h b/addressbook/conduit/address-conduit.h index 82f1b885a3..e379b55ee0 100644 --- a/addressbook/conduit/address-conduit.h +++ b/addressbook/conduit/address-conduit.h @@ -51,7 +51,7 @@ struct _AddressbookConduitContext { struct AddressAppInfo ai; AddressbookConduitCfg *cfg; EBook *ebook; - ECardCursor *cursor; + // ECardCursor *cursor; GList *cards; /* CalClient *client;*/ CORBA_Environment ev; |