Ethereal-dev: Re: [Ethereal-dev] How to colorize display from within the dissector

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

From: "Guy Harris" <gharris@xxxxxxxxx>
Date: Thu, 18 Nov 2004 18:54:00 -0800 (PST)
S. Faizi said:
> I want to display a certain messages in red in the summary information.

Specify a color filter using an expression that matches those messages. 
If such a filter can't be constructed, have the dissector add a hidden
Boolean field that's true if it's a message of that type and false if it's
not, and have the color filter test that field's value.

There is no way for a dissector to control the color of a packet's entry
in the packet list; as far as I'm concerned, that's a feature, as I don't
want somebody else deciding for me what color a packet in the list - if
I'd wanted it to be a particular color, I would have specified a color
filter to make it that color.