Hello,
GnomeMeeting CVS has full support for the E-D-S for the local contacts,
but the first users have started complaining. Actually, a few of them
are not using Evolution at all, which means there is no ~/.evolution/
addressbook/ directory for those users.
I have to init the address book some way.
I was thinking to do this :
/* Look for the "On This Computer" Source Group */
source_group =
gnomemeeting_addressbook_get_local_source_group (&source_list);
if (!source_group) {
on_this_computer =
e_source_group_new ("On This Computer",
"file://~/.evolution/addressbook/local/
system/");
e_source_list_add_group (source_list, on_this_computer, -1);
source = e_source_new ("Personal", "system");
e_source_group_add_source (on_this_computer, source, -1);
e_source_list_sync (source_list, NULL);
}
It works, except that after that I can not add contacts to the newly
created address book... I don't know why.
One other thing disturbs me. Am I forced to hardcode the evolution
directory to have something working? What if you decide to change the
directory?
Thanks,
--
_ Damien Sandras
(o- GnomeMeeting: http://www.gnomemeeting.org/
//\ FOSDEM : http://www.fosdem.org
v_/_ H.323 phone : callto:ils.seconix.com/dsandras seconix com
Attachment:
signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=