Evolution has two address fields, labeled 'address' and 'address2'. Opie has only one address field.
Today, when syncing, the second address field is not taken into account, so some data is lost when going from Evolution from Opie. May I suggest concatenating the two lines when constructing the Opie address line ? Tested patch attached below. Stelian. --- multisync-0.81/plugins/opie_sync/src/opie_vtype.c.addr2 2003-12-22 11:27:45.000000000 +0100 +++ multisync-0.81/plugins/opie_sync/src/opie_vtype.c 2003-12-22 11:19:25.000000000 +0100 @@ -1493,6 +1493,17 @@ { contact->home_street = g_strdup(fakeCStringO(vObjectUStringZValueO(prop))); } + prop = isAPropertyOfO(v, VCExtAddressPropO); + if(prop) + { + if (contact->home_street) { + gchar *old = contact->home_street; + contact->home_street = g_strconcat(old, " - ", fakeCStringO(vObjectUStringZValueO(prop)), NULL); + g_free(old); + } + else + contact->home_street = g_strdup(fakeCStringO(vObjectUStringZValueO(prop))); + } prop = isAPropertyOfO(v, VCCityPropO); if(prop) { @@ -1524,6 +1535,17 @@ { contact->business_street = g_strdup(fakeCStringO(vObjectUStringZValueO(prop))); } + prop = isAPropertyOfO(v, VCExtAddressPropO); + if(prop) + { + if (contact->business_street) { + gchar *old = contact->business_street; + contact->business_street = g_strconcat(old, " - ", fakeCStringO(vObjectUStringZValueO(prop)), NULL); + g_free(old); + } + else + contact->business_street = g_strdup(fakeCStringO(vObjectUStringZValueO(prop))); + } prop = isAPropertyOfO(v, VCCityPropO); if(prop) { -- Stelian Pop <[EMAIL PROTECTED]> ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Multisync-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/multisync-users