Re: [Evolution-hackers] E-VCard API

On Enj , 2004-04-29 at 11:20 +0200, Damien Sandras wrote:
> Hello to all,
> I have made more progress, but I'm a bit confused by the API.
> I have added Speeddial support using Chris' trick :
> --------------------------------------------
> attr = e_vcard_attribute_new (NULL, "TEL");
> e_vcard_attribute_add_param_with_value (attr, 
>                                         e_vcard_attribute_param_new
> ("TYPE"),
>                                         "X-GNOME-MEETING-SPEEDDIAL");
> e_vcard_attribute_add_value (attr, "55");  
> e_vcard_add_attribute (E_VCARD (contact), attr);
> --------------------------------------------

As a side note, you probably want to make this be an attribute of the
field for the callto: url, rather than telephone. Since the speed-dial
doesn't affect your phone, but it is associated with the videoconf url.

-- dobey

Attachment: signature.asc
Description: This is a digitally signed message part

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]