Re: [Evolution-hackers] User directory layout for 2.0



> > > First of all, we need to move the root directory to a hidden place; 
> > > so instead of storing everything under ~/evolution we should store
> > > everything under ~/.evolution.  (Yeah, finally. :-))

Yeah. :)


> > Having it configurable via an environmental variable is useful, not only
> > for testing multiple configurations, but also for multiple profiles.
> 
> Yeah, having it configurable is a plus.
> 
> There is one problem though...  The list of accounts is in GConf, and
> the list of available calendars and addressbook is going to be in GConf
> as well.  Those stay the same even if you run Evolution with a different
> EVOLUTION_DIRECTORY env variable; which makes the environment variable
> not that useful in the first place.
> 
> In particular, the list of calendars/addressbooks are going to have URIs
> to the files.  Even if we make the URIs relative to ~/.evolution, you'll
> still need the same set of calendars/addressbooks to be present in all
> the "profiles" for things to work properly.

Speaking about URIs: They where really annoying every time accounts
where moved.

I would suggest to drop the URI like it is and handle it always like
this:
$HOME/$EVOLUTION/suffix


Doing it that way, moving accounts gets a whole lot easier. And as long
as there are no different profiles, there is nothing more to struggle
with... ;)

...guenther


-- 
char *t="\10pse\0r\0dtu\0  ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}




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