Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 23421: /trunk/ /trunk/gtk/: color_dl

From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Sat, 10 Nov 2007 13:25:38 -0700
On Sat, Nov 10, 2007 at 09:04:12PM +0100, Sake Blok wrote:

> This can of course be handled by going through the selection and do
> the following:
> 
> - grey out both buttons when no rule is selected
> - grey out the enable button when *all* selected rules are enabled
> - grey out the disable button when *all* selected rules are disabled
> - leave both buttons active if there is a mix of disabled and enabled
>   rules
> 
> How does that sound?

Even better!  And good luck with your adventures into GTK programming..
it's actually pretty fun :).


Steve