00b5c2809a
When loading a capture file in the GUI, this change causes the list of available file types to be sorted alphabetically. "Automatically detect file type", pcap, and pcapng remain at the top of the list. Unlike my prior crack at this in change #36862, this is done directly in the file open dialogs (open_file_hook_proc() for Windows, CaptureFileDialog::addFormatTypeSelector() and CaptureFileDialog::open() for Qt). No changes to wiretap. It's not a huge deal if you folks decide this isn't necessary, I just think this gives a bit of extra polish to the load-file dialog. It also makes it easier for the user to spot the format they want if they aren't aware that the file-format dropdown accepts keyboard input. Change-Id: Ie81c6d99e83fe862f20b413318ac8ce76463a766 Reviewed-on: https://code.wireshark.org/review/37749 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org> |
||
---|---|---|
.. | ||
console_win32.c | ||
console_win32.h | ||
file_dlg_win32.c | ||
file_dlg_win32.h |