Biot Olivier wrote:
Excellent!
However I'd propose to add:
1. A dummy entry "(no capture files in history)" when the history is empty
(instead of getting a 3-by-3 pixel empty square box at initial run).
2. A means to clear the history
Regards,
Olivier
| -----Original Message-----
| From: Ulf Lamping
|
| Hi List!
|
| I've recently checked in some changes, which will hold a
| "recent" file
| in the users config path.
|
| This file will save the following things:
|
| - the 10 latest capture files opened
| - the 10 latest display filters used
|
| Have a look at the menu "File->Open Recent" item and the
| display filter
| drop down list at the bottom of the window to get an idea of it.
|
| I don't think this is a very elegant solution, but it will do the job
| quite well.
|
| Still to be done is a way to handle entries in the capture
| files list,
| when the capture file currently don't exist (maybe deleted or
| temporary
| networking problems).
|
| One thing I'm still thinking of, is the way how multiple running
| instances of Ethereal will affect this recent file.
I have recently checked in two changes to the behaviour of the recent
files submenu:
a.) if the submenu is empty, it's not sensitive (grayed out), I think
that's better than a dummy entry you mentioned
b.) appended to the submenu is a seperator and an item <clear file
list>, which will clear the submenu to the empty "state", see a.)
I think this will clean up the things you've mentioned.
Regards, ULFL