Ethereal-dev: Re: [Ethereal-dev] Saving all packets between the first and the last marked pack

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

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Mon, 29 Dec 2003 12:02:09 +0100
Dick Gooris wrote:

I took the suggestions in the current code, but made a minor change in the 'Selected packet only' widget. I am writing : 'Selected packet #6 only' where 6 is the current selected packet - of course :-) Just tell me if this is nicer or should we stick to the moreless hardcoded '1 packet'.

As the current "select" method will only select one packet at a time, and I don't think this will change shortly, I think you have found the best way for this. I will change this in the print dialog.


I checked all the functionality, and it seem to work ok. I already spotted some opportunities for optimalizations, but this can be done later.

Ok ;-)


Indeed, the last thing to do is to change the counter values in case the 'Apply display filter' is being set. Referring to the attached example, right now the value of 'All captured packets, 15 packets', remains the same when toggling the 'Apply display filter' check button. I have been looking into the GTK world of functions, and found gtk_widget_modify_text(), but this is not known to my gtk library. I also do not know if this can be used for radio buttons anyway. So when toggeling the check button a function would then update the associated couters.

If you have some suggestion to alter the text info, this would be great.

The gtk_widget_modify_text() will change the text color, but that's not what we want ;-)

I will have a look how this can be done, the gtk_button_set_label() is looking good.

Regards, ULFL