Re: [Evolution-hackers] mail component api & other changes



On Tue, 2004-01-27 at 07:32, Not Zed wrote:
> just fyi, i changed mail_component* functions to handle NULL passed as
> the component to mean 'default component', which means you dont need
> that fugly mail_component_peek() stuff everywhere anymore.

Oh, this is a decent solution to the issue.

> I'm actually pretty sure there's no need to have to pass the component
> around anyway - there can be only one (tm), but that was enough change
> to make at one time already.
> 
> I also removed default_*_folder_uri, and sent_folder/outbox_folder/
> inbox_folder/etc, and you now need to go through
> mail_component_get_folder() mail_component_get_folder_uri().  This is so
> the local-store isn't initialised till it needs to be, so you don't get
> empty inbox/etc folders setup, interfering with upgrade/first run
> initialisation order.
> 
> A lot of changes, so hopefully it hasn't broken anything.
> 
> I also changed the shell startup order for upgrades, as per the previous
> patch (JP said he'd tried something else but with no details I went
> ahead anyway).

Thats fine, it was just the location of the wizard/migration stuff. 
That can be moved later if desired.

-JP
-- 
JP Rosevear <jpr ximian com>
Ximian, Inc.




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