Re: [Evolution-hackers] Programmatically Invoking Contact Editor

2009-08-14 Thread Milan Crha
On Thu, 2009-08-13 at 16:41 -0700, Kip Warner wrote:
 Thanks Matt. I've found the contact-uid by querying the EContact
 pointer via e_contact_get_const(contact, E_CONTACT_UID), but I can't
 seem to find the source-uid anywhere. 

Hi,
source-uid is the UID of an EBook you've your contact stored in. If it's
just the contact not stored in any EBook, then no such thing is
possible.
Bye,
Milan

___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Programmatically Invoking Contact Editor

2009-08-14 Thread Kip Warner
On Fri, 2009-08-14 at 09:22 +0200, Milan Crha wrote:
 Hi,
 source-uid is the UID of an EBook you've your contact stored in. If
 it's
 just the contact not stored in any EBook, then no such thing is
 possible.
 Bye,
 Milan

Thanks Milan. I figured it out.

-- 
Kip Warner -- Software Developer
President  CEO Kshatra Corp.
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


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
 contact:// scheme and source-uid and contact-uid parameters, but I
 don't have an example handy.  Hopefully the EContact's URI gives you
 something close to that form.  You'll have to play around with it.
 
 Matthew Barnes

Thanks Matt. I've found the contact-uid by querying the EContact pointer
via e_contact_get_const(contact, E_CONTACT_UID), but I can't seem to
find the source-uid anywhere.

-- 
Kip Warner -- Software Developer
President  CEO Kshatra Corp.
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers