Hi List!
This is a proposal, some things might not work as they should, but it's
about to verify if the changes I've made are ok.
After renaming the previously introduced Capture/Clear to
Capture/Restart, I had a deeper look at the capture UI (toolbar and
menu) in general.
First of all, I've splitted the previous Capture/Start... into a
Capture/Options... and a Capture/Start feature.
Capture/Options will exactly work as Capture/Start formerly did.
Capture/Start will immediately start a capture without asking anything.
This was caused by the following thought: I'm usually not working with
named capture files (when in need, I'll save it afterwards). So I'm very
often calling Capture/Start and without looking at anything in the
upcoming dialog, clicking only Ok to start the capture. This was simply
annoying. Now you can simply click Capture/Start and Ethereal will start
with the previous parameters (except for the filename, but the
implementation could be changed too).
I've created a set of capture related icons (and a new display filter
icon as well). I've simply merged two existing icons together using the
gimp. If you're interested about the sources, see gtk/toolbar.c for a
short description.
I'm currently not really happy with the Capture/Start and
Capture/Restart icons, but couldn't find anything better.
Please note that this proposal is not "bulletproof", look at it as a
proof of concept. I know there are still some "edges", but before
spending more effort in debugging/implementing fixes I would first like
to know if the mechanism itself is ok.
So please take a look at the current implementation and comment.
Regards, ULFL