ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

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).