Ethereal-dev: [Ethereal-dev] Coloring rules dialog

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

From: "Martin Mathieson" <martin@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 30 Mar 2004 16:04:11 +0100
I've been using coloring rules a lot today, and have 2 minor gripes:

(1) The coloring rules menu item isn't enabled when no file has been loaded
or capture started - I've sometimes wanted to create/adjust these before a
capture.  Is there a reason ever to disable this?  I've attached a patch to
menu.c to remove it from the items that are sensitive to having packets
loaded.

(2) I've become accustomed to the display filter syntax checking colouring.
The attached patch to color_dlg.c adds this, but it looks a little odd as it
doesn't apply to a new or existing filter until you edit them (existing ones
start with the chosen color scheme of the rule, new ones appear with the
string "filter" showing plainly).

Regards,
Martin

Attachment: menu.c.diff
Description: Binary data

Attachment: color_dlg.c.diff
Description: Binary data