Re: [Evolution-hackers] Programmatically Invoking Contact Editor

2009-08-13 Thread Kip Warner
On Thu, 2009-08-13 at 14:24 -0400, Matthew Barnes wrote: > > In theory you should be able to pass the EContact's URI as a > command-line option to Evolution to invoke the editor, but I'm not > certain if this works at the moment. > > Looking at the code that handles the URI, it seems to expect a

Re: [Evolution-hackers] Programmatically Invoking Contact Editor

2009-08-13 Thread Matthew Barnes
On Thu, 2009-08-13 at 11:08 -0700, Kip Warner wrote: > I have a pointer to an EContact in an application I am working on and > I'd like to progmatically invoke the contact editor GUI in Evolution > with this EContact loaded in it. > > Can this be done, and if so, what steps are required? I took a

[Evolution-hackers] Programmatically Invoking Contact Editor

2009-08-13 Thread Kip Warner
Greetings, I have a pointer to an EContact in an application I am working on and I'd like to progmatically invoke the contact editor GUI in Evolution with this EContact loaded in it. Can this be done, and if so, what steps are required? I took a look at the Evolution API reference and I could fin

Re: [Evolution-hackers] how to use e_contact_new_from_vcard function

2009-08-13 Thread Milan Crha
On Thu, 2009-08-13 at 17:26 +0800, Saint yeyo wrote: > while I used function 'e_contact_new_from_vcard (vcf_file) ' based on > a exported vcard file Hi, the vcf_file is a file name or a file content? It should be the file content here, which contains those BEGIN:VCARD/END:VCARD tags. Some

[Evolution-hackers] how to use e_contact_new_from_vcard function

2009-08-13 Thread Saint yeyo
hello, while I used function 'e_contact_new_from_vcard (vcf_file) ' based on a exported vcard file, but it's told me: (Test_db_do:26548): libebook-WARNING **: vcard began without a BEGIN:VCARD (Test_db_do:26548): libebook-WARNING **: vcard ended without END:VCARD I am sure the vcard file is st

Re: [Evolution-hackers] how to initialize bf->priv->file_db

2009-08-13 Thread Milan Crha
On Thu, 2009-08-13 at 09:03 +0800, Saint yeyo wrote: > > > Hi, > >maybe I will sound silly, but what type a bf is? What is its parent > >object? You know, you just give here some expression from somewhere. > >The context is missing, at least for me. > > Bye, > > Milan > > sorry,