Re: [Evolution] How to set default columns width



Sorry for getting back *that* late...

My Inbox consists of multiple subdirectories, I'd like to set the width
of the columns in the message view, together with their order (Subject |
From | Date) only once, so all of the other directories will use the
same configuration.

I adjusted the default values myself, to optimize it with respect to the
width of the application. That is, do not waste space for columns like
"Date". And as I am messing around with it, adjust the values to look
nice in the source... ;-)

I adjusted the XML file ~/evolution/views/mail/Messages.galview, which
is the default one. To tweak the column widths (manually) adjust the
expansion values of every column node. Make sure that all expansion
values sum up to the number of columns.

Of course, this method was even more useful to manually tweak more than
one custom Views to actually have the *exact* same column widths (like
Messages and Sent). I like to have the same widths used for all
different Views...


Ofcourse I'd have to change the From column into a To column in the Sent
subdirectory, but that's less trouble than changing all the other
subdirectories.

Have a look at the other files in that directory (you probably can omit
any custom_* and current_* files) and see the one byte difference
between them. ;)

...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]