Re: [Evolution-hackers] GnomeMeeting and EDS integration, part 2



yeah, it'll be EVCard.

you'll do something like (kinda clunky):
        
        EContact *contact =...
        EVCardAttribute *attr;
        
        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);

Chris

On Thu, 2004-04-22 at 17:18 +0200, Damien Sandras wrote:
> Le jeu, 22/04/2004 à 11:13 -0400, JP Rosevear a écrit :
> > On Thu, 2004-04-22 at 11:52 +0200, Damien Sandras wrote:
> > > > there is an API for retrieving all the configured categories, but it's
> > > > not in e-d-s, but in evolution :-( I guess we should move it to e-d-s so
> > > > that apps like gnomemeeting can access it.
> > > > 
> > > 
> > > I think I had reported a bug about that. That would be nice if it was
> > > done before EDS 1.00, without that a big feature would be missing from
> > > GM.
> > > 
> > > No idea where I should store my speed dial for a contact? ;)
> > 
> > You should be easily able to add an X-GNOME-MEETING-SPEEDDIAL field via
> > the e-contact/e-vcard api (the latter i think).  Toshok knows more.
> > 
> 
> I'll have a look then, I was not using e-vcard until now...
> 
> 
> > -JP
> > -- 
> > JP Rosevear <jpr ximian com>
> > Novell, Inc.
> > 
> > _______________________________________________
> > evolution-hackers maillist  -  evolution-hackers lists ximian com
> > http://lists.ximian.com/mailman/listinfo/evolution-hackers



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