Re: [Evolution] Parameterized Advanced searches?




I have one vFolder which is All (I include mbox:Sent to get a view of
complete conversations)

That leads me to frequently want to search for "recipient OR sender is
BLAH" to get a quick view of my entire (two way) correspondence with
someone.

That would be idea if I could save a search which would take the search
text entry box's data as input, but I'm not sure if that's possible.

Sure. :)

The attached patch adds a new "Sender or Recipients contains" option to
the search dropdown. It acts as advertised. ;-)

Apply the patch to your $prefix/share/evolution/2.0/searchtypes.xml
file.

If you really need it often and don't want to select it every time, you
can make it the default by moving this rule up to be the first node of
the ruleset. Have fun...

...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; }}}

Attachment: search-Sender_or_Recipients.patch
Description: Text Data



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