Ethereal-dev: Re: [Ethereal-dev] Patch: Hiding disabled protocols in GTK2

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: Sat, 7 Aug 2004 23:28:41 -0700
On Sun, Aug 08, 2004 at 07:04:09AM +0200, Stas Grabois wrote:
> About two months ago I've posted a patch to hide disabled protocols in 
> "filter" and "decode" dialogs,
> but I forgot to send the GTK 2 patch:

Checked in, with some tweaks (the "proto_is_protocol_enabled()" check
was moved after the "protocol = find_protocol_by_id(i);" line, so we
only have to call "find_protocol_by_id()" once, and the "hfinfo =
proto_registrar_get_nth(i);" was moved after the test).