On Sat, 2013-02-09 at 20:29 +0100, Christof Schulze wrote:
> Is this a spot where device templates can help?

No, they merely tell SyncEvolution how to connect to a device, not how
to handle it once connected. This is done instead via device profiles
which are enabled during a sync based on the device information sent as
part of SyncML, typically maker and model.

The relevant part is the EMAIL_FLAGS field in 00vcard-fieldlist.xml,
which gets mappted to vCard in 01vcard-profile.xml. INTERNET is
recognized, but there is no code which ensures that it is set for
outgoing vCards. Such code could be done conditionally or
unconditionally.

This is a bit more complicated, I don't have time right now to come up
with the full code. If you want to tinker with it, have a look at the
scripting language definition in the source of libsynthesis and add a
for loop to 07vcard-addrev.xml which iterates over all indices in the
EMAIL array and sets the flag in the corresponding EMAIL_FLAGS array
entry.

That would be enough for a quick hack to determine whether the missing
flag is the problem.

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.


_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution

Reply via email to