Ethereal-dev: [Ethereal-dev] Protocol tree for filters

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Jeff Foster <jfoste@xxxxxxxxxxxx>
Date: Wed, 6 Dec 2000 15:39:51 -0600
I have written some code to add a filter string lookup tree into the filter
dialog boxes.  There are two files filter_prefs.diff & filter_tree.c.  Place

filter_tree.c in the gtk subdirectory and use the filter_prefs.diff file to
patch the filter_prefs.c file. 

The code adds another button on the filter dialog box, "Tree...". When
this button is clicked the protocol filter list is load into another dialog
box.  The protocol filter strings are displayed in a tree format.  You can
use the "Apply" button to insert the select filter string into the "Filter
string:"
text box at the current cursor position.  You can also double click an
item on the protocol list to do the same thing.

The code does have some problems with multiple filter dialog boxes.


Jeff Foster
jfoste@xxxxxxxxxxxx

 <<filter_prefs.diff>>  <<filter_tree.c>> 

Attachment: filter_prefs.diff
Description: Binary data

Attachment: filter_tree.c
Description: Binary data