Hello,
I often use the "find" facility to a packet with an attribute the same as
the one I am looking at. I have to rekey the filter string, or use "prepare"
and then cut and paste it into the find dialogue.
Attached are three patches against the current subversion to add a "find by
filter" option for the tree context menu. It uses the find_frame_with_filter
function.
Limitation: it does _not_ reset the find dialog to "display filter" - I'm
new to GTK and I couldn't work out how to do it. So if the user has chosen
"string" in their previous find, then uses the menu option, the find will
still be a string find.
And in my GTK ignorance, the whole implementation may be duff.
Any comments? Would another name for the menu option be better?
Matthew
Community Network Services Ltd..
204-207 Western Docks, Southampton, Hants. SO15 1DA
Switchboard : +44 (0)845 6589920 Fax : +44 (0)2380 799602
Help Desk : +44 (0)845 6589930
http://www.cnsonline.net/
Reg. no. 2084279 England
*************************************************************
All views or opinions expressed herein are solely
those of the author and do not necessarily represent those
of Community Network Services Ltd who do not accept
liability for any action taken in reliance on the contents
of this message (other than where the company has a legal
or regulatory obligation to do so) or for the consequences
of any computer viruses which may have been transmitted
by this E-Mail
The E-Mail and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this message
in error please notify the sender and delete the message
immediately or alternatively email postmaster@xxxxxxxxxxxxx
***************************************************************
Attachment:
main.c.diff
Description: Binary data
Attachment:
main.h.diff
Description: Binary data
Attachment:
menu.c.diff
Description: Binary data