Re: [Evolution-hackers] Creating a new server type
- From: Thomas Cataldo <thomas cataldo aliacom fr>
- To: Dan Winship <danw novell com>
- Cc: evolution-hackers ML <evolution-hackers lists ximian com>
- Subject: Re: [Evolution-hackers] Creating a new server type
- Date: Wed, 06 Oct 2004 18:05:44 +0200
On Wed, 2004-10-06 at 16:52 +0200, Thomas Cataldo wrote:
> On Wed, 2004-10-06 at 10:36 -0400, Dan Winship wrote:
> > On Wed, 2004-10-06 at 15:10 +0200, Thomas Cataldo wrote:
> > > static CamelProvider obm_provider = {
> > > "obm",
> > > N_("Aliacom O.B.M."),
> > >
> > > N_("For contacts and multi-user calendering"),
> > >
> > > "obm",
> > >
> > > CAMEL_PROVIDER_IS_REMOTE | CAMEL_PROVIDER_IS_EXTERNAL |
> > > CAMEL_PROVIDER_SUPPORTS_SSL,
> >
> > (IS_EXTERNAL is actually meaningless in 2.0. That should have
> > disappeared...)
> >
> > In addition to what Not Zed said about implementing CamelStore, you also
> > need to set CAMEL_PROVIDER_IS_SOURCE here to make it show up in the
> > menu. Setting IS_SOURCE but not IS_STORAGE means that the provider is
> > like POP, meaning it won't show up in the folder tree, but evolution-
> > mail will call your CamelStore implementation to fetch new messages when
> > the user clicks Send/Receive, so you're going to have to fake that
> > properly too.
>
> Will do that as soon as I can make it show up in the menu.
>
> The following code does not make it show up :
Ok, I created the "empty" store, and now it works. Using
camel_imap_store_get_type() was probably a bad idea because this symbol
resides in an other DSO.
Thanks.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]